Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^4: override CORE sub and keep method in same package (Updated)

by bulk88 (Priest)
on Oct 15, 2013 at 14:53 UTC ( #1058303=note: print w/ replies, xml ) Need Help??


in reply to Re^3: override CORE sub and keep method in same package (Updated)
in thread override CORE sub and keep method in same package

You guessed right. Unfortunately I have to change something in the existing method subs, for all the solutions presented here. So I might as well just replace all calls to builtin select in each method with a select2 I defined. Checking if the first arg is blessed is another solution which probably would have been cleaner then putting select2 everywhere.


Comment on Re^4: override CORE sub and keep method in same package (Updated)
Re^5: override CORE sub and keep method in same package (Updated)
by BrowserUk (Pope) on Oct 15, 2013 at 23:01 UTC
    So I might as well just replace all calls to builtin select in each method with a select2 I defined.

    Yes. That is much simpler isn't it :)


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2015-07-05 07:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls