Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2018-02-22 07:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (288 votes). Check out past polls.

    Notices?