Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
can any reply out with a better code than this??by asdfghjkl (Initiate) |
on Dec 06, 2007 at 07:07 UTC ( [id://655293]=perlquestion: print w/replies, xml ) | Need Help?? |
asdfghjkl has asked for the wisdom of the Perl Monks concerning the following question:
hi monks,
i had small retrival code in my project..
i need to match three consecutive copies of what ever is contained currently in $string .If $string=abc then it should match for abcabcabc
i had implemented a code for this one. can any one suggest a better code to this??
Back to
Seekers of Perl Wisdom
|
|