mbond has asked for the wisdom of the Perl Monks concerning the following question:
print "hi" if $foo == 1; print "bye" if $foo != 1;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: If / elses
by aardvark (Pilgrim) on Mar 12, 2001 at 20:10 UTC | |
|
Re: If / elses
by Jouke (Curate) on Mar 12, 2001 at 20:03 UTC | |
by merlyn (Sage) on Mar 12, 2001 at 20:07 UTC | |
by tye (Sage) on Mar 12, 2001 at 20:52 UTC | |
by jeroenes (Priest) on Mar 13, 2001 at 17:38 UTC | |
by tye (Sage) on Mar 13, 2001 at 19:59 UTC | |
|
(Ab)?using logical operators.
by TGI (Parson) on Mar 12, 2001 at 23:28 UTC | |
by merlyn (Sage) on Mar 12, 2001 at 23:32 UTC |