diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-20 22:14:35 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-20 22:14:35 +0000 |
commit | d6fd2b02d50b0bf989dc521c19ed6e9f2fbfb325 (patch) | |
tree | f0c4663e87c12b1058bc8b01f32a679037372aa3 /lib | |
parent | 50d3c28bbe8a45c1810f69952fd525ff16664a9c (diff) | |
download | perl-d6fd2b02d50b0bf989dc521c19ed6e9f2fbfb325.tar.gz |
add note about symbolic filehandles (from Johan Vromans)
p4raw-id: //depot/perl@5843
Diffstat (limited to 'lib')
-rw-r--r-- | lib/strict.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/strict.pm b/lib/strict.pm index f9d60af154..042227f967 100644 --- a/lib/strict.pm +++ b/lib/strict.pm @@ -34,6 +34,8 @@ use symbolic references (see L<perlref>). print $$ref; # ok $ref = "foo"; print $$ref; # runtime error; normally ok + $file = "STDOUT"; + print $file "Hi!"; # error; note: no comma after $file =item C<strict vars> |