more useful options | |
PerlMonks |
Howto convert lines in stringified text into element of an arrayby monkfan (Curate) |
on Sep 04, 2007 at 03:22 UTC ( [id://636820]=perlquestion: print w/replies, xml ) | Need Help?? |
monkfan has asked for the wisdom of the Perl Monks concerning the following question:
Hi, Suppose I have the following free text (it can be anything, e.g html,xml also), which is stringified into a variable $file: How can I convert it into array where each element contain each lines of the text above? into :
Regards, Edward
Back to
Seekers of Perl Wisdom
|
|