Right, I forget about Perl 5's insane behavior about capture variables when a match failed. The correct way would be to use /.../ and $1 // '' or some variation thereof.
In reply to Re^3: Array Filter and Lookahead
by moritz
in thread Array Filter and Lookahead
by daugh016
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |