http://www.perlmonks.org?node_id=76798


in reply to Re: how do I open each line of a text file into seperate arrays?
in thread how do I open each line of a text file into seperate arrays?

open(my($fd),"./file") or die($!); @a=map{split('|',$_)}<$fd>; close($fd);
my 2 cents :)


lindex
/****************************/ jason@gost.net, wh@ckz.org http://jason.gost.net /*****************************/