MozRepl - More than one instance of MozRepl

Posted on Wed Sep 12 03:57:39 2007 by kyraha
More than one instance of MozRepl

When I try to create another instance of MozRepl I got an error:

Can't locate object method "setup" via package "MozRepl::Plugin::Base::SUPER" (perhaps you forgot to load "MozRepl::Plugin::Base::SUPER"?) at site_perl/5.6.1/MozRepl.pm line 262.

which suggests me that MozRepl does not support multiple objects yet. Is this a known issue which has to be fixed? Or I do something wrong? Thank you.

Here is an example code:

use MozRepl; $m = MozRepl->new(); $m->setup(); $n = MozRepl->new(); $n->setup(); # here it throws an error.
Write a response