in reply to how to invoke unix commands in perl
use backquote :
$result=`wc -l /etc/passwd`;
or use system or exec
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Answer: how to invoke unix commands in perl
by arhuman (Vicar) on Feb 08, 2001 at 20:10 UTC |
In Section
Seekers of Perl Wisdom