Syntactic Confectionery Delight | |
PerlMonks |
Re: Parsing multiline string line by lineby olus (Curate) |
on Feb 19, 2009 at 12:41 UTC ( [id://745023]=note: print w/replies, xml ) | Need Help?? |
You can split the string on newlines into an array, and then iterate through it in a foreach loop.
In Section
Seekers of Perl Wisdom
|
|