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)
In reply to Re: Getting rid of an uninitialized warning
by ikegami
in thread Getting rid of an uninitialized warning
by jonc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |