given how smart perl is, I was thinking there must be a function within perl
whereby if one does a pattern match against a scaler, that in addition to
having regex being able to return such built in vars as: $` (what preceeds
the match), $' (what follows the match), $1, etc.  

 

is there a built in var that returns the position within the scalar where
the match occurred?

 

of course, if not, one may always evaluate length($`).

 

I was just curious

_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to