Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: File Readingby ambrus (Abbot) |
on Oct 02, 2007 at 07:30 UTC ( [id://642052]=note: print w/replies, xml ) | Need Help?? |
I recommend the $_ = <>; @f = split; while (<>) { @a{@f}= split; print $a{$field}; } trick from Re: updating Input file.
In Section
Seekers of Perl Wisdom
|
|