On 11/13/07, jeevs <[EMAIL PROTECTED]> wrote:

> Failed 2/6 test scripts, 66.67% okay. 29/116 subtests failed, 75.00%
> okay.

> I used the following command to check if all the dependencies are
> installed
>
> perl -M<modulename> -e 'print $<ModuleName>::VERSION'
>
> and to my surprise i found that all the dependencies were
> installed ....

That trick may not work for every module, but most have a package
variable like that giving the version number. Of course, printing the
version number doesn't prove that the module is _correctly_ installed,
although it's a big step in the right direction.

> When I tried to perl -e "use Net::SSH::Perl" it showed no error
> but perl -MNet::SSH::Perl -e 'print $Net::SSH::Perl::VERSION' was
> unable to print the version .

It seems that that module is immune to your trick. That doesn't mean
that it's not installed, though.

> I havent tried using the module in actuall program yet. Just wanted to
> make sure beforhand if it is fully installed....

Try running the test scripts again. The module and its prerequisites
are fully and properly installed if and only if all of the tests pass.
You can generally find the test scripts in a directory named t at the
top of the module distribution. If it passed all tests before you
installed it, it should still pass all tests now. Using the test
scripts is the One True Way to find out whether your modules are
properly installed.

Hope this helps!

--Tom Phoenix
Stonehenge Perl Training

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to