in reply to
Splitting each line into an array from file
This will also catch spaces (tabs, etc.):
my @elements = split //, $one;
[download]
This is explained in
split
Comment on
Re: Splitting each line into an array from file
Download
Code
In Section
Seekers of Perl Wisdom