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/

In reply to Re^2: Perl Idioms Explained - my $count = () = /.../g by MrCricket
in thread Perl Idioms Explained - my $count = () = /.../g by japhy

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":