in reply to RE: Re: exiting a if loop
in thread exiting a if loop

Which is basically what I wrote, what with white space being irrelevant and all. Hey this isn't Python :-)

Lets face it:

if(HOLIDAY){$check = TRUE;} elsif ( $time <= 1800){$check = TRUE;}
Would also work, even if it is slightly less readable

Nuance

Baldrick, you wouldn't see a subtle plan if it painted itself purple and danced naked on top of a harpsichord, singing "Subtle plans are here again!"

Replies are listed 'Best First'.
RE: RE: RE: Re: exiting a if loop
by flyfishin (Monk) on Jun 06, 2000 at 19:01 UTC
    I believe he was referring to the use of else if. There is no else if in Perl, you use elsif.
      That's actually what I meant, yes.