in reply to Condense the script

die "Both not avail\n" if $sym+$mac==2;

Replies are listed 'Best First'.
Re: Re: Condense the script
by fglock (Vicar) on Oct 07, 2003 at 18:35 UTC

    What happens if $sym == 2 and $mac == 0 ?

      you get a nasty bug that takes a long time to track down and a maintainer of your poor script that wants to track you down and $knife++ you.


      -Waswas