summaryrefslogtreecommitdiff
path: root/lib/strict.pm
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-03-20 22:14:35 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-03-20 22:14:35 +0000
commitd6fd2b02d50b0bf989dc521c19ed6e9f2fbfb325 (patch)
treef0c4663e87c12b1058bc8b01f32a679037372aa3 /lib/strict.pm
parent50d3c28bbe8a45c1810f69952fd525ff16664a9c (diff)
downloadperl-d6fd2b02d50b0bf989dc521c19ed6e9f2fbfb325.tar.gz
add note about symbolic filehandles (from Johan Vromans)
p4raw-id: //depot/perl@5843
Diffstat (limited to 'lib/strict.pm')
-rw-r--r--lib/strict.pm2
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>