Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: New Discovery!!! (sub call without parentheses)

by LanX (Saint)
on Dec 08, 2018 at 19:25 UTC ( [id://1226978]=note: print w/replies, xml ) Need Help??


in reply to Re: New Discovery!!! (sub call without parentheses) - Coding Style
in thread New Discovery!!! (sub call without parentheses)

Yes, but with exceptions.

When designing syntactic sugar and/or DSLs its useful to leave the parentheses off.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

  • Comment on Re^2: New Discovery!!! (sub call without parentheses)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-04-18 00:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found