Help for this page
$_='axxbcaxbagaxbacba'; for (m/a(.*?)b/g) { print "$a\n"; }
$_='axxbcaxbagaxbacba'; foreach my $a (m/a(.*?)b/g) { print "$a\n"; }