You'd have to create a new class which subclasses Apache::FakeRequest, and re-bless the object into that class.
Attempting to overwrite the method (e.g. which '*Apache::Request::lookup_uri = sub { ... }') would affect all Apache::Request objects within the script.
In reply to Re: changing object's methods at runtime
by kilinrax
in thread changing object's methods at runtime
by ViceRaid
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |