Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Opening files in 5.004 and 5.8

by gaal (Parson)
on May 11, 2007 at 21:27 UTC ( #615017=note: print w/replies, xml ) Need Help??


in reply to Opening files in 5.004 and 5.8

Lexical filehandles were introduced in 5.6, IIRC. You can say

my $handle = \*RPT;

and pass it to a subroutine in versions prior to that, though. close and friends work with that.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://615017]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2017-04-29 09:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (531 votes). Check out past polls.