Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^4: Moose and File::Temp

by tinita (Parson)
on Nov 19, 2012 at 14:52 UTC ( #1004554=note: print w/replies, xml ) Need Help??


in reply to Re^3: Moose and File::Temp
in thread Moose and File::Temp

So it is impossible to use while(<$self->{IamAfileHandleAttribute}>) { ... } > to read a file
no, it's not really impossible. you can just use readline instead of the diamond operator.
while (readline $self->{IamAfileHandleAttribute}) {

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2016-12-08 04:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (135 votes). Check out past polls.