Perl question

Steve Holmes steve at holmesgrown.com
Tue Dec 16 22:14:38 EST 2003


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




More information about the Speakup mailing list