[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: Perl -system command
"Sachin Shurpali (RBIN/DCA-NMP)" proclaimed:
> $dif=$filedot.".err";
> print "\n",$dif,"\n";
> $EXEC="diff $current $verif > $dif";
>
>
> if(system($EXEC) != 0 ) -
> ---------------------------------------------------------error here
> {
> print $!;
Why are you using the system() call? Why not just use backticks (`)?
Thaths
--
"[muttering] Ow, ow, stupid trash, rotten, stinky, hate world, revenge
soon, take out on everyone..." -- Homer J. Simpson
Sudhakar C13n http://www.aunet.org/thaths/ Lead Indentured Slave