Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Re: Re: Replacing a given character starting with the xth occurence in a string

by sharle (Acolyte)
on May 22, 2001 at 08:35 UTC ( #82159=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Replacing a given character starting with the xth occurence in a string
in thread Replacing a given character starting with the xth occurence in a string

This was great! Thanks!

I spent a huge amount of time trying to figure out how to split on characters, I tried everything except what you used. (I was at work, and so only had the man pages to work from).

All of your tips were greatly appreciated. I didn't know that foreach automatically assigned $_. Useful knowledge, that.

I like the result much better than my original, and it was very cool to see how to use map.

Still Learning, sharle

  • Comment on Re: Re: Re: Replacing a given character starting with the xth occurence in a string

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://82159]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2016-10-01 20:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (7 votes). Check out past polls.