Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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

by LanX (Sage)
on Dec 08, 2018 at 19:25 UTC ( #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? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2022-01-20 16:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (57 votes). Check out past polls.

    Notices?