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

Re: Print to multiple file handles at once.

by Aristotle (Chancellor)
on Nov 20, 2002 at 16:18 UTC ( [id://214517]=note: print w/replies, xml ) Need Help??


in reply to IO::MultiHandle - Operate on multiple file handles as one

Did you test this? The following won't work: $fh->$AUTOLOAD( @args ) for my $fh @$self; Perl hasn't seen the my when it sees the first mention of $fh so that one refers to the global variable of that name. Either declare the variable on a line by itself or use $_. $_->$AUTOLOAD(@args) for @$self;

Makeshifts last the longest.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-26 04:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found