Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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 ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://82159]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (3)
As of 2024-04-24 05:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found