Keep It Simple, Stupid | |
PerlMonks |
Re: Using currently selected filehandleby erasei (Pilgrim) |
on Jun 23, 2003 at 18:17 UTC ( [id://268259]=note: print w/replies, xml ) | Need Help?? |
Or do it the other way around, with a combination of yours and hardburn's methods.
Name your sub to be 'printto' and then print to the filehand in the sub, like this:
Although it just seems like it'd be a lot either to just print it to the file hand directly as hardburn said.
In Section
Seekers of Perl Wisdom
|
|