--- Ryan <[EMAIL PROTECTED]> wrote:

> What is a lexical file handle?  I'm working my way
> through Ford's "Perl 
> Programming for the Absolute Beginner" (2007) and
> Lee's "Beginning Perl" 
> (2004), and they both use the FH style of file
> handle.  

>From perl 5.6 you can say,

open my $fh,"test.txt" or die $!;

this $fh is a lexical file-handle.


       
____________________________________________________________________________________
Be a better Globetrotter. Get better travel answers from someone who knows. 
Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545469

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to