I'd write that initialization as:
The ||= op will convert zero to an empty string, which may provide surprises. There is the shiny new //= (I think it is) op to do that, but in the interest of portability I wouldn't use it yet.defined($value_a) or $value_a = '';
After Compline,
Zaxo
In reply to Re^2: Uninitialized Value Question
by Zaxo
in thread Uninitialized Value Question
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |