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.
In reply to Re^3: formatting output from system call
by vinoth.ree
in thread formatting output from system call
by mark4444az
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |