motasem1973 has asked for the wisdom of the Perl Monks concerning the following question:

Hi all, I have developed cgi scripts that are based on other modules (LWP::UserAgent). The server I am hosting at does not have the modules already available with its perl.exe executable. I can understand that I will need to upload the modules (.pm files) by myself. but since those modules are also based on other modules as well (and it goes on ...), I have a problem tracing the modules (it is like a tree), tracing them manually by trial and error takes alot of time and effort. Is there an easier way to trace them (or a tool available to do this)? Thanks for help

Replies are listed 'Best First'.
Re: modules upload for CGI scripts
by EvanK (Chaplain) on Jan 30, 2007 at 23:13 UTC
    Many of the more popular CPAN modules have bundles to ease the dependancy process, like Bundle::DBI for example. You could also use the CPAN utility module if you have shell access.

    __________
    The trouble with having an open mind, of course, is that people will insist on coming along and trying to put things in it.
    - Terry Pratchett

Re: modules upload for CGI scripts
by davorg (Chancellor) on Jan 31, 2007 at 09:39 UTC
Re: modules upload for CGI scripts
by rinceWind (Monsignor) on Jan 31, 2007 at 14:45 UTC

    Consider PAR if your hosting company are being totally anal and uncooperative. This will enable you to deploy your CGI scripts as executables, which include all called modules. If you have the ability to symlink on the server, you will be able to package multiple CGI scripts into a single executable.

    --

    Oh Lord, won’t you burn me a Knoppix CD ?
    My friends all rate Windows, I must disagree.
    Your powers of persuasion will set them all free,
    So oh Lord, won’t you burn me a Knoppix CD ?
    (Missquoting Janis Joplin)