Perl Monk, Perl Meditation | |
PerlMonks |
Re: Replacing a given character starting with the xth occurence in a stringby sharle (Acolyte) |
on May 21, 2001 at 10:09 UTC ( [id://81922]=note: print w/replies, xml ) | Need Help?? |
Um, I'm pretty new to perl, but your problem is very simple really. I think everyone has tried to make it much more complicated a problem than it really is.
Try this: p$ will then contain "T1rr1nc1 and Phillip ar1 sw11t", I think you'll find.
In Section
Seekers of Perl Wisdom
|
|