in reply to Re: Run 2 Subroutines after a die
in thread Run 2 Subroutines after a die
Would I be correct in assuming that
if(! open TST, ">>$var1"){ }
would just be another way of doingunless(open TST, ">>$var1"){ }
If so, is this just another way of doing things or are there further benefits for using unless. I did once read that the code we use should be readable to humans and that the computers will still interpret our code. Is this a case of unless being easier to read than if not?
-----
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Run 2 Subroutines after a die
by Juerd (Abbot) on Oct 03, 2002 at 07:47 UTC |