in reply to Re^2: Syncing perltie filehandle STDOUT STDERR and system call
in thread Syncing perltie filehandle STDOUT STDERR and system call
karthikm897 you are correct that you don't need to tie the file handle with IO::Callback. The trick there is to use the select command. On the other hand for STDERR there is a fair amount going on in the background with perl so I would reccomend either looking at the perl documentation for sigtrap or working with the special %SIG variable to target specific error message types rather than redirecting STDERR wholesale.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Syncing perltie filehandle STDOUT STDERR and system call
by karthikm897 (Initiate) on Dec 22, 2012 at 15:50 UTC | |
by jandrew (Chaplain) on Dec 26, 2012 at 18:00 UTC |
In Section
Seekers of Perl Wisdom