You can do this by saying:
print STDERR "Both not avail\n" and exit if (($sym == 1) && ($mac == 1 +));
but it may be even easier just to die, like so:
die "Both not avail\n" if (($sym == 1) && ($mac == 1));
-- Mike
--
XML::Simpler does not require XML::Parser or a SAX parser.
It does require File::Slurp.
-- grantm, perldoc XML::Simpler
In reply to Re: Condense the script
by thelenm
in thread Condense the script
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |