Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: intercept nonexistent methods call

by Bor (Beadle)
on Aug 04, 2011 at 11:24 UTC ( #918504=note: print w/ replies, xml ) Need Help??


in reply to Re^2: intercept nonexistent methods call
in thread intercept nonexistent methods call

This is not working as I want :(
If I comment "parent Module;" in Module::Mock.
Then code
local *Module::new = sub { Module::Mock->new(); };
do not gives any effect and in other modules Module->new() calls.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2016-06-26 22:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (331 votes). Check out past polls.