Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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.


Comment on Re: Opening files in 5.004 and 5.8
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://615017]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2014-10-22 03:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (112 votes), past polls