Perl file handle question...

Joel Meulenberg joelmeulenberg at yahoo.com
Tue Jan 25 18:01:42 CST 2000


> Any ideas about this? I want to grab STDOUT from a Perl script within
> the 
> same script and do some processing on it.

You should be able to simply read from STDOUT.  e.g.- "<STDOUT>".

If you'd prefer to read from a filehandle of a different name, you can
dup STDOUT with something like this:

open(HANDLE, '>-') or die $!;

+Joel

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com



More information about the grand-rapids-pm-announce mailing list