in reply to
Transforming a scalar to an array
sure, use
split
now you just have to know
where
to split, since you don't have any newlines..
Comment on
Re: Transforming a scalar to an array
Replies are listed 'Best First'.
Re^2: Transforming a scalar to an array
by
AnomalousMonk
(Archbishop)
on Jul 15, 2009 at 16:44 UTC
... since you don't have any newlines.
But the newlines are all still there: they are embedded within the single string that represents the data read from the entire file.
[reply]
In Section
Seekers of Perl Wisdom