$/ = "--"; while (<DATA>) { chomp; @_ = split /\n/, $_; print "Second Line: $_[1]\n"; } __DATA__ multi line--data goes here
In reply to Re: how to split blocks of text
by TedPride
in thread how to split blocks of text
by Otogi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |