Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: Prototype like sort()?

by LanX (Saint)
on Feb 01, 2018 at 19:13 UTC ( [id://1208275]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Prototype like sort()?
in thread Prototype like sort()?

Unfortunately there is an ugly and hard to debug edge case when using an &call with an empty list.

From perlsub

&foo;        # foo() get current args, like foo(@_) !!

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Wikisyntax for the Monastery

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-06-13 00:09 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.