Suresh Pasupula wrote:
Gohaku wrote:
After using backticks to retrieve executable output,
I would like to know if there is a backtick alternative.

You can use in the following way:

$exec = "ls -l";
$src  = system($exec);

Please read "perldoc -f system" to find out why you typically can *not* use system() instead of backticks!


--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to