in reply to Not getting desire output by using switch statement in Perl
perl -MO=Deparse,-p -e '$a eq "a" || "b" || "c" || "d"' (((($a eq 'a') or 'b') or 'c') or '???');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Not getting desire output by using switch statement in Perl
by rammohan (Acolyte) on Jan 06, 2014 at 11:53 UTC | |
by choroba (Cardinal) on Jan 06, 2014 at 12:11 UTC |