Just use my($needed_data)= /data_here(.+)/. See perlop on Regexp-Quote-Like Operators. There it is explained how to use the match operator in list context and what it returns.
In reply to Re: split paragraph
by Corion
in thread split paragraph
by james28909
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |