open P,"command |" or die "error running command $!"; my @data=<p>; close P; my $exit_value=$? >> 8;
In reply to Re: How do I get both the return value and text? backticks vs. system()
by lhoward
in thread How do I get both the return value and text? backticks vs. system()
by flymolo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |