![]() |
|
Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: What I Most Recently Learned in Perl, But Should Have Already Knownby izut (Chaplain) |
on Aug 17, 2006 at 17:28 UTC ( #567974=note: print w/replies, xml ) | Need Help?? |
Continuing the if-else statements problem, the idiom I like most is:
It's amazing how this replace an entire switch or if-else statements.
Igor 'izut' Sutton
In Section
Meditations
|
|