[sf-perl] Prototypes, List::MoreUtils and subroutine references, OH MY!

Chris Weyl cweyl at alumni.drew.edu
Fri Mar 29 09:21:08 PDT 2013


On Thu, Mar 28, 2013 at 5:16 PM, George Hartzell <hartzell at alerce.com>wrote:

> Is this the way it is or am I screwing something up and getting lucky?
>

That's the way it is.  Prototypes are only used when a sub is invoked as a
function, not from a coderef or method; this make sense in their context of
providing the capacity to emulate built in functions.

                              -Chris
-- 
Chris Weyl
Ex astris scientia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/sanfrancisco-pm/attachments/20130329/1d462611/attachment.html>


More information about the SanFrancisco-pm mailing list