in reply to Re^2: formatting output from system call
in thread formatting output from system call
We suggested to use qx() to execute the command and capture the output, into a variable like below, instead of creating file.
Ex:use strict; use warnings; my $output = qx(date); print $output;
After that you can use your regx on that variable and pull the output value.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: formatting output from system call
by mark4444az (Sexton) on Mar 19, 2014 at 15:12 UTC |