Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Perl Idioms Explained - my $count = () = /.../g

by MrCricket (Sexton)
on Dec 17, 2015 at 15:18 UTC ( #1150621=note: print w/replies, xml ) Need Help??


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/

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1150621]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2021-01-25 02:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?