in reply to Re: Splitting multiple patterns
in thread Splitting multiple patterns
How about if I put the infos.txt file into a array first and then splitting it from there. like first it will open the .txt file then putting it in a array, then split them inside..
open(INFILE, "<", "infos.txt") or die ("cannot open input: $!"); my @infos = <INFILE>; chomp(@infos);
How can I split the datas on my @infos? thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Splitting multiple patterns
by stevieb (Canon) on Apr 09, 2012 at 04:48 UTC | |
by astronogun (Sexton) on Apr 09, 2012 at 10:30 UTC | |
by Marshall (Canon) on Apr 09, 2012 at 19:07 UTC | |
by astronogun (Sexton) on Apr 10, 2012 at 09:35 UTC |