Just another Perl shrine | |
PerlMonks |
Re: parsing CSV file with embedded commas (fortunately, fixed-width) - is unpack the solution?by MZSanford (Curate) |
on Oct 31, 2001 at 22:44 UTC ( [id://122400]=note: print w/replies, xml ) | Need Help?? |
You could use unpack similar to the following (as long as the fields are fixed width) :
If the fields are not fixed width, unpack may not be the bext way to go. i had a memory leak once, and it ruined my favorite shirt.
In Section
Seekers of Perl Wisdom
|
|