http://qs321.pair.com?node_id=506701


in reply to how to split blocks of text

Why isn't split working for you?

$text=<<"EOT"; Line 1 Line 2 Line 3 EOT foreach ( split(/\n/, $text) ) { print "* $_\n"; }
--
b10m

All code is usually tested, but rarely trusted.