next unless 1; never runs next, as 1 is always true. So is "m//" or any other non-empty string different to 0.
In reply to Re^6: Empty pattern in regex
by choroba
in thread Empty pattern in regex
by choroba
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |