# @array should hold the info you read from the file, # preferably chomp()'ed my @new_array = (); foreach(@array) { push @new_array, split(':', $_); # Oops. Had @array instead of $_ +. Thanks Beatnik! }
In reply to Re: How can i take a file loaded into an array and split it up into different...
by bbfu
in thread How can i take a file loaded into an array and split it up into different...
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |