Perl: the Markov chain saw | |
PerlMonks |
Re: search one instanceby AnomalousMonk (Archbishop) |
on Nov 03, 2010 at 19:38 UTC ( [id://869297]=note: print w/replies, xml ) | Need Help?? |
I don't quite understand how we get from toniax's OP to finding all starting positions of the substring, but here's another way:
See @- (and its cousin @+) in perlvar.
In Section
Seekers of Perl Wisdom
|
|