my $count = (LIST1) = (LIST2);The chunk in bold is the list assignment. That is put in scalar context by the my $count = ... part.
Please see Re: Longest repeated string... for further clarification.
In reply to Re^2: Perl Idioms Explained - my $count = () = /.../g
by japhy
in thread Perl Idioms Explained - my $count = () = /.../g
by japhy
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |