Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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!

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 about the Monastery: (6)
As of 2016-08-27 23:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (390 votes). Check out past polls.