in reply to Re^2: CGI: A Tale of Two Usernames
in thread CGI: A Tale of Two Usernames

You need to install Class:Accessor too.

How did you install Sudo? If you just used the standard CPAN way of installing it, it should have brought in the dependency for you. If it didn't, this is probably a bug in the module's spec, and you should contact the maintainter (or better, open a bug in http://rt.cpan.org).

Replies are listed 'Best First'.
Re^4: CGI: A Tale of Two Usernames
by gellyfish (Monsignor) on Dec 16, 2004 at 17:28 UTC

    It appears that the Makefile.PL does not have PREREQ_PM set - however the dependencies on Class::Accessor and IPC::Run are noted in the README. If any cares enough they should drop a note to the author.

    /J\

Re^4: CGI: A Tale of Two Usernames
by BravoTwoZero (Scribe) on Dec 17, 2004 at 03:27 UTC

    It *might* be helpful, if you're trying the sudo route, to add your cgi user to the sudoers file and try running it from there, too. That might help to rule out an issue specific to the module.

    Amatuers discuss tactics. Professionals discuss logistics. And... my cat's breath smells like cat food.