in reply to Re^2: Backticks and SIGALRMin thread Backticks and SIGALRM
If the filename begins with '|' ...
as you are using qx() (which gets the full output anyway) maybe you can simply redirect the output of your external command to a file (using the system shell and process that later
my $cmd = "$ext_cmd > $my_output"; # using unixlike shell
system($cmd) == 0 or die; #
(ignore if your OS is not unixlike) what does happen if you manually send SIGALRM to that external process?
(wrap it in a shell if the execution time is too short).
DejaVu Sans Mono
Droid Sans Mono
Envy Code R
Source Code Pro
The default, whatever it is
Results (110 votes). Check out past polls.