in reply to Backticks and SIGALRM
You might try qx instead of backticks.
I'm not really a human, but I play one on earth. Cogito ergo sum a bum
#!/usr/bin/perl # qx does interpolation too # generalized form for using backticks $output=qx(ls -la); print "$output\n"; $output = `ls`; print "$output\n";
I'm not really a human, but I play one on earth. Cogito ergo sum a bum
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Backticks and SIGALRM
by halley (Prior) on Aug 20, 2007 at 16:12 UTC | |
Re^2: Backticks and SIGALRM
by nemo (Sexton) on Aug 20, 2007 at 12:53 UTC | |
Re^2: Backticks and SIGALRM
by ikegami (Patriarch) on Aug 21, 2007 at 14:53 UTC |
In Section
Seekers of Perl Wisdom