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

Re^4: Taking reference to function

by SFLEX (Chaplain)
on Apr 16, 2009 at 17:54 UTC ( [id://758035]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Taking reference to function
in thread Taking reference to function

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re^5: Taking reference to function
by tilly (Archbishop) on Apr 17, 2009 at 04:03 UTC
    Work more? Perl makes a method call once at compile time. It is one of the cheapest method calls you'll see. If you honestly object to using the clearest and most widely documented method to bypass strict references because you're concerned with the overhead of a method call, then perhaps you should take up something other than Perl programming. Because Perl's attitudes about efficiency simply aren't a fit for your type A, performance oriented personality.

    Furthermore if a coworker of mine objects as strongly as you just did to working with people who don't know that you can bypass the strict 'refs' check with (\&$foo)->(), then I'd support solving the problem by getting rid of said coworker. Because said coworker clearly values personal cleverness over clear code, and team dynamics.

    A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

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

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