Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

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

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 making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2016-10-26 06:16 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (336 votes). Check out past polls.