in reply to Condense the script

If you don't care about the exit status (and in fact, I think you really want the exit status to say "bad exit"), I do that this way:
die "Both not avail" if $sym == 1 and $mac == 1;

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.