Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re^5: Perl split on regex match

by GotToBTru (Prior)
on Jan 03, 2017 at 18:59 UTC ( #1178869=note: print w/replies, xml ) Need Help??

in reply to Re^4: Perl split on regex match
in thread Perl split on regex match

An assumption supported by all supplied test data. The #1 objection I have with my post is it continues the bad practice of not using a proper CSV module. Overkill, if the example data is truly representative of all this program will ever have to deal with, but of course that's rarely the case. Assuming only the one column will contain periods is the least of my sins.

And, as 1nickt demonstrated, even my oversimplification could be simplified further.

But God demonstrates His own love toward us, in that while we were yet sinners, Christ died for us. Romans 5:8 (NASB)

Replies are listed 'Best First'.
Re^6: Perl split on regex match
by Random_Walk (Prior) on Jan 04, 2017 at 13:44 UTC

    Aye, an assumption supported by a rather small sample (5). I could randomly pick five humans and there is a ~1 in 16 chance that my sample would tell me there is only one gender. :-)


    Pereant, qui ante nos nostra dixerunt!

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2021-04-14 20:22 GMT
Find Nodes?
    Voting Booth?

    No recent polls found