in reply to Re^3: Seperating Fixed Line Feed into Fields
in thread Seperating Fixed Line Feed into Fields

Thank you, that worked. This is a huge improvement than what I had before. Not that I'm thinking about it, I should be able to go from unpack into Excel spread sheet right?
  • Comment on Re^4: Seperating Fixed Line Feed into Fields

Replies are listed 'Best First'.
Re^5: Seperating Fixed Line Feed into Fields
by Transient (Hermit) on Jun 11, 2009 at 13:47 UTC
    With the arrays, yes, it will make it much easier. Assuming you have your worksheet open (exercise left to the OP =):
    my $row = 0; while (<DATA>) { # data loop is here # unpack, etc. $worksheet->write_row($row++, 0, \@fields); }