A regex match returns differently in list vs. scalar context, and with or without /g. See http://perldoc.perl.org/perlop.html#Regexp-Quote-Like-Operators-operator%2c-regexp: "If the /g option is not used, m// in list context returns"...
In reply to Re: Match into list?
by ysth
in thread Match into list?
by cormanaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |