scalar context won’t materialize a zero though. Does change the undef to an empty string
Actually, it kind of does: the match operation changes its return value based on context, so the special false value returned in scalar context is zero in numeric context. (So it's also not changing the undef to an empty string, it's changing the behavior of the match.)
In reply to Re^3: Bug in Class::Struct?
by haukex
in thread Bug in Class::Struct?
by freonpsandoz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |