Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: Unpack or substr to create CSV?

by AnomalousMonk (Archbishop)
on May 02, 2015 at 20:11 UTC ( [id://1125463]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Unpack or substr to create CSV?
in thread Unpack or substr to create CSV?

After posting the above, I realized that a regex approach might give you data validation, if this was of any concern, almost for free, so I think now that I might incline in this direction. But again, there are too many unstated conditions and requirements to allow more than a hand-waving consideration of alternatives, although this may be valuable to johnmck.


Give a man a fish:  <%-(-(-(-<

Replies are listed 'Best First'.
Re^4: Unpack or substr to create CSV?
by Laurent_R (Canon) on May 02, 2015 at 20:31 UTC
    Yes, ++. If validation comes for free (or almost) and is useful, then a regex is very likely to be a much better solution. Neither substr nor unpack will offer that.

    Je suis Charlie.

Log In?
Username:
Password:

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

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

    No recent polls found