in reply to Condense the script
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Condense the script
by Anonymous Monk on Oct 07, 2003 at 19:06 UTC |