Perl: the Markov chain saw | |
PerlMonks |
Re: REGexp match queryby RichardK (Parson) |
on Oct 09, 2015 at 15:11 UTC ( [id://1144311]=note: print w/replies, xml ) | Need Help?? |
Split just isn't going to work if you can have missing columns. If split returns 3 columns how are you going to guess which one is missing?. The data you posted looks like it's a fixed length format, so you'd be better using unpack
In Section
Seekers of Perl Wisdom
|
|