in reply to checking values of variables
Instead of declaring 50 variables, you could declare a single hash.
my %params; # some code here which may or may not add keys to %params print "help\n" unless %params;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: checking values of variables
by Laurent_R (Canon) on Aug 12, 2013 at 15:39 UTC | |
Re^2: checking values of variables
by fishmonger (Chaplain) on Aug 12, 2013 at 16:03 UTC |
In Section
Seekers of Perl Wisdom