in reply to Iterator to parse multiline string with \\n terminator
no?while(<DATA>){s/[\\\n]//g; $line.=$_;} print $line; __DATA__ fist line\ second line\ third line\ fourth
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Iterator to parse multiline string with \\n terminator
by Athanasius (Archbishop) on Oct 07, 2013 at 03:20 UTC | |
by Lennotoecom (Pilgrim) on Oct 07, 2013 at 11:15 UTC |
In Section
Seekers of Perl Wisdom