On 14.12.2002 11:57 Uhr, "Adrian Brinton" <[EMAIL PROTECTED]> wrote:
> 
> #count the occurrences of "a"
> $string = "aaabbbcccddd";
> $count = () = $string =~ /a/g;
> print "Count is $count\n";
> 

This is really cool ! I never ever seen this kind of line. Is there any rule
or document snipe or explanation of $n = () = ???
$count is an () Array ??? No !
I wait for your explanation.

Kirs

_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to