Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 avoiding work at the Monastery: (3)
As of 2014-09-20 20:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (163 votes), past polls