- or download this
use SuperSplit;
$array = supersplit('\s+','\n','\n----\n',\*DATA');
- or download this
my $str = '';
while( <DATA> )
$str .= $_ unless m|^[/-]|;
}
$array = supersplit('\s+','\n','\n----\n',$str);
- or download this
for (@$array){
print $_->[1][3]."\n"; #remember indici start at zero
}