Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: Howto strip 42 from comma separated list using s///

by jbware (Chaplain)
on Nov 03, 2005 at 14:21 UTC ( [id://505356]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Howto strip 42 from comma separated list using s///
in thread Howto strip 42 from comma separated list using s///

Yeah, and painful. Although it can be done it regex, it just goes to show why I would much rather iterate through a list and process each element individually instead of handling all the element special cases in a regex. From a processing efficiency standpoint I'm not sure which is better, but I think regarding a programmer's efficiency, and future understanding, I'd lean toward looping through a list and handling each element on its own as a better decision. It just seems cleaner to me (as fun as regex exercises are); but maybe that's just me.

-jbWare
  • Comment on Re^3: Howto strip 42 from comma separated list using s///

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-18 12:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found