Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Creating a module

by japhy (Canon)
on Feb 13, 2001 at 22:14 UTC ( #58175=note: print w/replies, xml ) Need Help??


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!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://58175]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2023-02-07 07:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (38 votes). Check out past polls.

    Notices?