Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^4: How to call a sub-routine ref

by BillKSmith (Chaplain)
on Oct 20, 2012 at 04:00 UTC ( #1000085=note: print w/ replies, xml ) Need Help??


in reply to Re^3: How to call a sub-routine ref
in thread How to call a sub-routine ref

I like the second rule in perlref.

Anywhere you'd put an identifier (or chain of identifiers) as part of a variable or subroutine name, you can replace the identifier with a BLOCK returning a reference of the correct type.

Sure, the result is often ugly, but there are no exceptions or special cases. What more could my poor memory want.

Bill


Comment on Re^4: How to call a sub-routine ref

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2014-07-24 04:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (157 votes), past polls