Shawn H Corey wrote:
Steve Bertrand wrote:
You can replace them all with this:

my $station = $channels{ $opt_s };

my $station = $channels{ $opt_s } || help();

my $station = $channels{ $opt_s } or help();

Or:

( my $station = $channels{ $opt_s } ) || help();


John
--
The programmer is fighting against the two most
destructive forces in the universe: entropy and
human stupidity.               -- Damian Conway

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to