On Wed, Oct 19, 2005 at 10:50:04PM +0100, Jess Robinson wrote: > > > > > > I'm writing a module which will need user account data for it's tests, > > > and > > > I'm wondering if there's a standard way (or module) for doing this.. > > > > What do you mean by "user account data"? > > > > Perhaps UNIX/Linux UIDs and GIDs? > > Oops, sorry, thought it made sense ;) > > My module will login to a web service and manipulate data > programmatically.. Nothing critical I assure you, just a tool ;) Since > theres no dummy/test account that I know of, I'll need the users > account/email address and password to login.
Using an OO approach is one way to go: my $t = Test::Foo->new(\%my_params); $t->wobble_ok('zoop'); Mark