in reply to Syntax Perl Version support $c = () = $a =~ /\./g
In general my code usually processes each match from a "match global".my @anyname = some match regex global expression; my $c = @anyname; #scalar value of number of elements in @anyname # The Goatse means the same thing but you don't have to have to # Updated spelling of Goatse, one "e", not two - Ooops thanks YourMoth +er # have the array @anyname
|
---|