Help for this page
use Regexp::Common 'list'; my $re = qr{ ... my @x = ($x =~ m{$re}g); print join("\n", @x);
joe sam x(monkey,lemur)