Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Fixed Position Column Records

by EvanCarroll (Chaplain)
on May 18, 2008 at 21:55 UTC ( #687260=note: print w/replies, xml ) Need Help??


in reply to Fixed Position Column Records

For people who stumble upon this thread. I've written a module to help with task. DataExtract::FixedWidth
my $de = DataExtract::FixedWidth->new({ header_row => undef , heuristic => \@lines , cols => [qw/name address num1 num2 num3/] }) say $de->parse_hash( $_ )->{name} foreach @lines


Evan Carroll
I hack for the ladies.
www.EvanCarroll.com

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://687260]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2021-07-29 05:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?