diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-06-17 13:29:04 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-06-17 13:32:58 -0700 |
commit | 4a904372e4d28940f0bcc3b8501925d58b3f0e68 (patch) | |
tree | 61615a52d9e4f65843b6a0f8f415c76b247d9f69 /pod/perltie.pod | |
parent | 65613fc23b9817bb12168505453c08d1b6b1baf2 (diff) | |
download | perl-4a904372e4d28940f0bcc3b8501925d58b3f0e68.tar.gz |
Doc update for changes in 5.15.0 + tweaks
Diffstat (limited to 'pod/perltie.pod')
-rw-r--r-- | pod/perltie.pod | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/pod/perltie.pod b/pod/perltie.pod index 456cc60cba..887f2f02ed 100644 --- a/pod/perltie.pod +++ b/pod/perltie.pod @@ -870,11 +870,10 @@ program, where output to STDOUT and STDERR may have to be redirected in some special way. See nvi and the Apache module for examples. When tying a handle, the first argument to C<tie> should begin with an -asterisk. So, if you are tying STDOUT, use C<*STDOUT>. If you have assigned -it to a scalar variable, say C<$handle>, use C<*$handle>. C<tie $handle> -works, too, but that is considered a bug and will be fixed in Perl 5.16. It -is supposed to tie the scalar C<$handle>, not the handle inside it. -C<tie $handle> emits a deprecation warning as of Perl 5.14. +asterisk. So, if you are tying STDOUT, use C<*STDOUT>. If you have +assigned it to a scalar variable, say C<$handle>, use C<*$handle>. +C<tie $handle> ties the scalar variable C<$handle>, not the handle inside +it. In our example we're going to create a shouting handle. |