in reply to Reading fixed width fields (was: Reading in Data)

Book:
Data Munging With Perl!!! By Dave Cross (davorg), it has a section on this (Chapter 7 - Fixed Width and Binary Data)
(it has a section on most stuff, it's nice).

Pedantry:

Off the Cuff:
Use regular expressions specifically @fields = m/(.{$width})/g; (as on page 129 of Data Munging With Perl)

--

Brother Frankus.

¤

Replies are listed 'Best First'.
Re: Re: Reading in Data
by skullbowl (Monk) on May 10, 2001 at 14:34 UTC
    Thanks for the feedback & suggestion. I didn't know my english was not english. Basically i have a data file with fixed width fields and i am trying to read in these data. Will try to find the book that u mentioned. Btw, how does one change the title of a Root Node?
    use Text::Soundex; print soundex ("Skullbowl");
    RESULT : S414