Perl-Sensitive Sunglasses | |
PerlMonks |
bgreenlee's scratchpadby bgreenlee (Friar) |
on Jul 13, 2004 at 09:07 UTC ( [id://373896]=scratchpad: print w/replies, xml ) | Need Help?? |
Searching BackwardsWant to search backwards through a string, but don't want to have to reverse the string first? I had a need to do this recently in a golf problem ("reverse" is just too damn long). If you don't mind destroying your string, use s///:
|
|