If you were ever to need initialize a variable conditionally, be sure to use the ternary operatormy $color = shift;
my $variable = $condition ? 'value' : undef;
In reply to Re: Closure warning with Perl 5.14?
by wind
in thread Closure warning with Perl 5.14?
by BerntB
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |