Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Finding the right $<*digit*> capture variableby tekkie (Beadle) |
on Apr 16, 2003 at 14:07 UTC ( [id://250901]=note: print w/replies, xml ) | Need Help?? |
I'm not sure where you're going with this either, $#- probably does what you're looking for. You could also write a subroutine to check which $<DIGIT> values are defined, and return the last one found:
In Section
Seekers of Perl Wisdom
|
|