Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Re: changing object's methods at runtime

by bart (Canon)
on May 22, 2003 at 02:25 UTC ( [id://259965]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $req=Apache::FakeRequest::ViceRaid->new( method::lookup_uri => sub {
        # ... insert what you want it to do
     });
    
  2. or download this
    sub lookup_uri {
        $_[0]->{method::lookup_uri}->(@_);
    }
    
  3. or download this
    sub lookup_uri {
        ($_[0]->{method::lookup_uri} || $_[0]->can(SUPER::lookup_uri))->(@
    +_);
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-04-24 23:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found