The stupid question is the question not asked | |
PerlMonks |
Re: STDOUT redirect in Perlby staeryatz (Monk) |
on Nov 14, 2001 at 14:08 UTC ( [id://125280]=note: print w/replies, xml ) | Need Help?? |
Even more Temporarily, you can specify the filehandle with print, instead of using select.
Using this way is good if you only have to print one time, instead of using 'select'. It is really not a good idea to change STDOUT, but rather just make a new filehandle like 'OFILE' shown above.
In Section
Seekers of Perl Wisdom
|
|