in reply to Test::MockModule question
Don't use indirect object syntax. Not only is it buggy, I have personally found myself making other typos when I do that. In this case:
new Test->MockModule('Bar');Should be:
Test::MockModule->new('Bar'); # or if you really like the buggy indirect object syntax: new Test::MockModule 'Bar';
Cheers,
Ovid
New address of my CGI Course.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Test::MockModule question
by thor (Priest) on Sep 15, 2005 at 17:56 UTC | |
by Ovid (Cardinal) on Sep 15, 2005 at 18:32 UTC |