Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: lightweight CSV parser

by wrinkles (Pilgrim)
on Dec 22, 2011 at 17:25 UTC ( #944815=note: print w/ replies, xml ) Need Help??


in reply to Re: lightweight CSV parser
in thread lightweight CSV parser

Thanks, that was a huge help and very generous of you. Here's what I take away:

  • Don't use the ternary operator when the value tested is the value to be set. Use the || operator.
  • $! contains system call information.
  • It's often better to create an anonymous array directly.
  • Use the quotemeta operator for interpolating strings into regular expressions.
Thanks a lot!


Comment on Re^2: lightweight CSV parser

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (10)
As of 2015-07-08 00:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls