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
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me
|
---|
In Section
Seekers of Perl Wisdom