in reply to Condense the script
Or even (ugly!): exit not print STDERR, "not avail" if $sym==1 && $mac==1;
or syswrite(STDERR,"not avail\n"), exit 0 if $sym==1 && $mac==1;