in reply to Getting rid of an uninitialized warning
Correct me if I'm wrong, but I believe enabling can either be present with value 'on' or absent.
If so, the provided solutions are overkill and all you need is
my $c_enabling = param('enabling') ... if ($c_enabling)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Getting rid of an uninitialized warning
by jonc (Beadle) on Jun 23, 2011 at 21:08 UTC | |
by ikegami (Patriarch) on Jun 23, 2011 at 22:04 UTC |