in reply to Re: Not getting desire output by using switch statement in Perl
in thread Not getting desire output by using switch statement in Perl
print exists $a{$_} ? $a{$_} : 'Everything else', "\n";
This is how I use the ?:.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Not getting desire output by using switch statement in Perl
by Lennotoecom (Pilgrim) on Jan 06, 2014 at 22:27 UTC |