Perl question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yes, it does.  I use the ` marks that is accent marks before and after
the desired command.  the variable $? will hold the return code from
it and if you put a "$variable = " (without the quotes) in front of
the command, the output from that command that would normally go to
STDOUT will be captured in the $variable.  I think there may be an
actual exec() function as well - not sure though.

On Mon, Dec 15, 2003 at 10:16:30PM -0500, igueths at comcast.net wrote:
> Hi all. Does anyone know if the latest version of Perl, or even perhaps
> Perl5 implement the exec function? If so, are my assumptions correct in
> that the syntax of exec in Perl is the same as in the C/Shellscript
> implementations? Thanks!

-- 
HolmesGrown Solutions
The best solutions for the best price!
http://ld.net/?holmesgrown




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux