Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^3: Using Test::TAP::Model and a global objectby skx (Parson) |
on Oct 16, 2007 at 10:33 UTC ( [id://645147]=note: print w/replies, xml ) | Need Help?? |
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:
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.
In Section
Seekers of Perl Wisdom
|
|