in reply to Creating a module

Please check the documentation for further information about error messages. Here, I used the splain program, which comes with Perl:
jpinyan@voyager-dev [12:12pm] ~/web #330> splain /usr/local/bin/splain: Reading from STDIN Encryption.pm did not return a true value at test.pl line 3. Encryption.pm did not return a true value at test.pl line 3 (#1) (F) A required (or used) file must return a true value to indicate + that it compiled correctly and ran its initialization code correctly. +It's traditional to end such a file with a "1;", though any true value +would do. See perlfunc/require.


japhy -- Perl and Regex Hacker

Replies are listed 'Best First'.
Re: Re: Creating a module
by TStanley (Canon) on Feb 13, 2001 at 22:19 UTC
    I added the 1; to the end of the module, and that solved that little problem. I've still
    got others, but I think I can figure them out by myself.

    TStanley
    In the end, there can be only one!