in reply to Re: PPM has module but BugZilla says it's missing
in thread PPM has module but BugZilla says it's missing

Your code returns CGI $CGI::VERSION installed and Template Toolkit version $Template::VERSION installed respectively. But

use strict; use warnings; use CGI; use Template-Toolkit; print "CGI " . $CGI::VERSION . "\n"; print "TT " . $Template::VERSION . "\n";
returns
CGI 3.49 TT 2.22
Regards,

John Davies


Comment on Re^2: PPM has module but BugZilla says it's missing
Select or Download Code
Re^3: PPM has module but BugZilla says it's missing
by Corion (Pope) on Sep 29, 2010 at 15:26 UTC

    Duh - sorry for giving you dud code, but you fixed the problem with my code.

    Now, you should look at checksetup.pl respectively Bugzilla/Install/Requirements.pm and see what contortions it involves to (badly) check whether a module is available or not. Ideally, it would simply require the modules in question, but then it would simply find them.