|
|
| No such thing as a small change | |
| PerlMonks |
Re: Regex backreference without capture (?&NAME) NamedCaptureby beech (Parson) |
| on Mar 05, 2019 at 03:36 UTC ( [id://1230882]=note: print w/replies, xml ) | Need Help?? |
|
Hi ? So you want @x = qw( first third ) ; This "works"
The undef comes from the named capture (?<patblah>blah) which takes up slot $3 in this pattern, which is why (?(DEFINE) is placed at the end
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||