in reply to split paragraph
my $needed_data = (split /data_here(.+)/)[1]; [download]
Note that $_ as the second argument to split can be omitted.