Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Creating a module

by japhy (Canon)
on Feb 13, 2001 at 22:14 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-03-29 05:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found