in reply to Creating a pseudo-module/package on a remote (CGI) server?
You could just build your Module.pm files along side your scripts and load them from there. You don't need to install them in the usual perl libdirs... In fact, unless I'm intending to distribute the modules for others normally don't put them in a different directory at all. Really, you can put them anywhere, as long as you -I the dir or add them to @INC before you use them — usually requres a BEGIN block..
Is there some file-filter machine that's preventing you from uploading anything with a .pm extension? You could even call them .pl files and require them by name.
-Paul
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Creating a pseudo-module/package on a remote (CGI) server?
by dirving (Friar) on Dec 21, 2006 at 09:41 UTC | |
|
Re^2: Creating a pseudo-module/package on a remote (CGI) server?
by PockMonk (Beadle) on Dec 21, 2006 at 10:15 UTC | |
by f00li5h (Chaplain) on Dec 21, 2006 at 10:23 UTC |