in reply to Re: Perl Idioms Explained - my $count = () = /.../g
in thread Perl Idioms Explained - my $count = () = /.../g

About the
$scalar_weird = (1..5); print "SW: ", $scalar_weird, $/; SW:
-it's not a 'range' operator but a 'flip-flop', returns false in your case, http://perlhacks.com/2014/01/dots-perl/