File::Spec 0.82 beta
[p5sagit/p5-mst-13.2.git] / lib / strict.pm
index f9d60af..042227f 100644 (file)
@@ -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>