I meant to assign the scalars to UNDEF.
$foo = (); will indeed do that, but since scalars are initialised to undef on creation, my $foo; is sufficient.
In reply to Re^3: Creating Reports with hashes: Use of uninitialized value while adding integers
by ikegami
in thread Creating Reports with hashes: Use of uninitialized value while adding integers
by GertMT
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |