open( CMD, "mycmd arguments wubba |" ) or die "Can't open pipe from my +cmd: $!\n"; while( <CMD> ) { print scalar localtime, ": ", $_; } close( CMD );
If you need fancier you might want to look at IPC::Run or the like.
--
We're looking for people in ATL
In reply to Re: formatting STDOUT
by Fletch
in thread formatting STDOUT
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |