Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Fixed Position Column Records

by EvanCarroll (Chaplain)
on May 18, 2008 at 21:55 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others about the Monastery: (7)
As of 2024-04-16 11:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found