On Friday 14 December 2007 05:31, [EMAIL PROTECTED] wrote: > > Hello List,
Hello, > I am having two conditions in the perl program. after the check it > will be regenerated to a valid or notvalid file depending on the > check. > > Checking " if (system($touchcmd) && system($chkstat)) " as condition. > Is this a valid one? No, you would have to do: if ( !system($touchcmd) && !system($chkstat) ) Perhaps $touchcmd and $chkstat could be done in perl instead of running them in an external process? What exactly do $touchcmd and $chkstat do? John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/