$gq is undef because your mocked constructor does nothing. You need to return $TMO or another mock object instead.
In reply to Re: Using Test::MockObject
by chromatic
in thread Using Test::MockObject
by TStanley
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |