Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 goofing around in the Monastery: (3)
As of 2025-06-24 17:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.