Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Re: Re: What's like $+ but not gives the ordinal?by japhy (Canon) |
on Jun 28, 2001 at 03:33 UTC ( [id://92121]=note: print w/replies, xml ) | Need Help?? |
This appears to be a bug. perlvar says that $#+ should return the number of successful groupings, but it doesn't -- it returns the number of attempted groupings. $#-, on the other hand, works as expected.
japhy -- Perl and Regex Hacker
In Section
Seekers of Perl Wisdom
|
|