Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: Calling a sub without enclosing its argument inside brackets

by ikegami (Patriarch)
on Mar 18, 2024 at 13:37 UTC ( [id://11158332]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Calling a sub without enclosing its argument inside brackets
in thread Calling a sub without enclosing its argument inside brackets

For completeness, he still needs to predeclare the sub palt .

Yeah. That's always the case when calling a sub without parens or &.

It can also be done using sub palt;.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-07-12 20:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.