from "Programming Perl, 3rd ed.", page 738

(under the 'local' function description)

"As of the 5.6 release of Perl, a plain 
 my $fh  
 is good enough, because if you give an 
 undefined variable where a real filehandle
 is expected, like the first argument to
 open or socket, Perl now autovivifies a
 brand new filehandle for you."

Ah, so that explains it. I thought I was
losing my mind.

Will perl 6 do something like this too?
Greg

Reply via email to