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
In reply to Re^2: Splitting multiple patterns
by astronogun
in thread Splitting multiple patterns
by astronogun
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |