Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Syntax Perl Version support $c = () = $a =~ /\./g

by ikegami (Patriarch)
on Jul 18, 2018 at 09:32 UTC ( [id://1218729]=note: print w/replies, xml ) Need Help??


in reply to Syntax Perl Version support $c = () = $a =~ /\./g

At least since 5.6. See Mini-Tutorial: Scalar vs List Assignment Operator and more specifically Perl Idioms Explained - my $count = () = /.../g.

  • Comment on Re: Syntax Perl Version support $c = () = $a =~ /\./g

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-04-19 23:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found