Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: Moose and File::Temp

by 2teez (Priest)
on Nov 19, 2012 at 13:03 UTC ( #1004531=note: print w/ replies, xml ) Need Help??

in reply to Moose and File::Temp

hi gsiglet,

Just as ColonelPanic, mentioned previously,

The following from print, in Perl Documentation could shield more light:

If you're storing handles in an array or hash, or in general whenever you're using any expression more complex than a bareword handle or a plain, unsubscripted scalar variable to retrieve it, you will have to use a block returning the filehandle value instead, in which case the LIST may not be omitted:
print { $files[$i] } "stuff\n";

If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me

Comment on Re: Moose and File::Temp
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (11)
As of 2015-12-01 15:44 GMT
Find Nodes?
    Voting Booth?

    My keyboard shows this many letters:

    Results (16 votes), past polls