in reply to Re: Re: Re: Module and software path
in thread Module and software path

# ./test.pl Bio.pm did not return a true value at ./test.pl line 7. BEGIN failed--compilation aborted at ./test.pl line 7.
That's the error I am seeing when I plugin your code in my module. In fact, I commented everything out of my module but just your code, so it should print the path, but I am getting this error instead. What is going wrong?

test.pl is the file calling the module. It contains:

use Bio path => "/path/to/software";

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Module and software path
by Steve_p (Priest) on Mar 17, 2003 at 20:55 UTC

    You need to have a

    1; # that's a one
    at the end of your Perl module. use will fail without it.