Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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}) {


Comment on Re^4: Moose and File::Temp
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (14)
As of 2015-07-31 19:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (280 votes), past polls