in reply to Re^2: when is a perl module executed?
in thread when is a perl module executed?

Ensure that the capitalization for the package name and the file name match and are the same as used in the use statement.

Note that all lower case module names are reserved for pragmas and should not be used for user modules.


Perl is environmentally friendly - it saves trees

Replies are listed 'Best First'.
Re^4: when is a perl module executed?
by ketaki (Acolyte) on Jul 17, 2008 at 03:30 UTC
    no its not printing 'foo'. is that because this perl file output im seeing on the browser (the perl file is a cgi file), on the internet?this module made by me resides in a diffrent directory, and i have written
    use lib '/home/www/xxxxxxxxxxxxxxxxxx.org/modules';
    before i write the use statement, in the perl/cgi file.