On Tue, Sep 24, 2013 at 08:50:37AM +0200, Tobias Leich wrote:
> Hi, what you can do now is:
> 
> So, my $doc = "/path/to/file".IO.slurp..split( $line-sep )>>.split(
> $field-sep );
> Which seems pretty short and readable, at least to me :o) 

sure ... and explode my memory usage as some marc collections are often
hundreds of gigabytes big. if you see my snippets again, i used an
anonymous iterator un perl5 and the gather function un perl6 to be sure
that the records are read on demand. 

regards
-- 
Marc Chantreux (eiro on github and freenode)
http://eiro.github.com/
http://eiro.github.com/atom.xml
"Don't believe everything you read on the Internet"
    -- Abraham Lincoln

Reply via email to