PerlMe has asked for the wisdom of the Perl Monks concerning the following question:
MSG = `tail -n 10 $ERRLOG`
I would be using the above call but how to grab the result in to a string variable?system "tail -n 10 $ERRLOG";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: system call: Unix system call result into a variable
by GrandFather (Saint) on Jul 17, 2007 at 22:06 UTC | |
by runrig (Abbot) on Jul 17, 2007 at 22:11 UTC | |
by cdarke (Prior) on Jul 18, 2007 at 09:05 UTC | |
|
Re: system call: Unix system call result into a variable
by j1n3l0 (Friar) on Jul 17, 2007 at 22:08 UTC | |
by quester (Vicar) on Jul 18, 2007 at 07:52 UTC | |
|
Re: system call: Unix system call result into a variable
by mjscott2702 (Pilgrim) on Jul 18, 2007 at 01:05 UTC |