in reply to system call: Unix system call result into a variable
You can also get your result in an array:$error_string = qx(tail -n 10 $ERRLOG);
Hope that helps ;) UPDATE: Removed the double-quotes. Thanks quester@error_array = qx(tail -n 10 $ERRLOG);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: system call: Unix system call result into a variable
by quester (Vicar) on Jul 18, 2007 at 07:52 UTC |