in reply to Re^2: Using Test::TAP::Model and a global object
in thread Using Test::TAP::Model and a global object
Ahh I guess I wasn't being helpful then.
I guess a potential fall-back plan would be to created a local singleton module to encapsulate your connection.
Then each test could do something like:
my $con = Singleton::Connection->instance();
and this way only the first connection would connect - the latter calls would return the established object.
Still just a hack instead of the real ability you want, but it might help.
|
|---|