- or download this
( my @a = `route print`=~ m!0.0.0.0!g ) > 3
- or download this
( () = `route print`=~ m!0.0.0.0!g ) > 3
- or download this
my $n = $str =~ m/this/g;
- or download this
my $n = () = $str =~ m/this/g;
my $n = grep 1, $str =~ m/this/g;
my $n = map $_, $str =~ m/this/g;
- or download this
my $n = 0; ++$n while $str =~ m/this/g;