more useful options | |
PerlMonks |
Re: inserting parsed results into excel rows and columns in delimited formatby Trimbach (Curate) |
on Feb 10, 2005 at 22:40 UTC ( [id://429936]=note: print w/replies, xml ) | Need Help?? |
Once your data is in @file why not something like this:
Of course, this only handles one row. You can increment through the rows as well, using the automagical ++ incrementer on $row. BTW, when you have delimited files you should be thinking "split/join" and if you have fixed-width files you should be thinking "unpack/pack". Regex's should be your last choice in those situations. :-) Gary Blackburn
In Section
Seekers of Perl Wisdom
|
|