If you want the exact same function as the backticks, why not just make a small 
subroutine?
 
#################
 
$exec = "ls -l";
$src = syscall($exec);
 
sub syscall{
   return `$_[0]`;
}
 
#################
 
should work.

        -----Original Message----- 
        From: gohaku [mailto:[EMAIL PROTECTED] 
        Sent: Mon 7/5/2004 9:28 PM 
        To: Perl Beginners 
        Cc: 
        Subject: Backticks alternative?
        
        

        Hi everyone,
        After using backticks to retrieve executable output,
        I would like to know if there is a backtick alternative.
        

        <snip>

Reply via email to