ybiC has asked for the wisdom of the Perl Monks concerning the following question:
In this post, btrott explains why the particular code should use or die"message$!"; instead of || die"message$!";.
I used || die in all my early scripts because that's what I learned from "Learning Perl" examples. Before I go back and change them all, in what code would || die be appropriate?
I know "Learning Perl" can't be wrong - mdillon said so here. grin
|
---|
Replies are listed 'Best First'. | |
---|---|
RE: or or
by reptile (Monk) on Jul 08, 2000 at 15:48 UTC | |
Re: or or
by ahunter (Monk) on Jul 08, 2000 at 15:53 UTC | |
by Aighearach (Initiate) on Jul 09, 2000 at 00:51 UTC | |
by ahunter (Monk) on Jul 09, 2000 at 01:57 UTC | |
by Aighearach (Initiate) on Jul 09, 2000 at 08:49 UTC | |
Grouping Symbols?
by Kozz (Friar) on Jul 08, 2000 at 18:52 UTC | |
by ahunter (Monk) on Jul 08, 2000 at 21:23 UTC | |
by reptile (Monk) on Jul 08, 2000 at 19:14 UTC | |
RE: or or (or generally better for die)
by ybiC (Prior) on Jul 08, 2000 at 16:34 UTC | |
RE: or or (should be: or or ||)
by ybiC (Prior) on Jul 08, 2000 at 15:28 UTC |
Back to
Seekers of Perl Wisdom