Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^6: Label makes a sub to return empty list -- "secret"? documented?

by LanX (Saint)
on Sep 13, 2025 at 13:38 UTC ( [id://11166213]=note: print w/replies, xml ) Need Help??


in reply to Re^5: Label makes a sub to return empty list -- "secret"? documented?
in thread Label makes a sub to return empty list -- "secret"? documented?

Yes probably.

three issues worth mentioning:

  • a) Perl is not that orthogonal to be instantly sure these three variants always do the same thing.
  • b) P5P have bigger fish to fry than such micro optimizations.
  • c) maintaining B::Deparse is neither straightforward nor easy.

Though if you think it's so important, you can submit a patch to optimize the last return away.

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

  • Comment on Re^6: Label makes a sub to return empty list -- "secret"? documented?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2025-12-16 05:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (95 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.