in reply to run module from cgi-bin

You can run it from the cgi-bin or a lib directory either way tachyon's A Guide to Installing Modules Tutorial describes how to do this, under heading "I don't have permission to install a module on the system!".

"Cogito cogito ergo cogito sum - I think that I think, therefore I think that I am." Ambrose Bierce

Replies are listed 'Best First'.
Re^2: run module from cgi-bin
by Anonymous Monk on Apr 19, 2005 at 16:36 UTC
    I can create this /lib directory only via FTP, and put there a module.

    Is this correct:

    #!/usr/bin/perl -w use strict; use lib '/usr/home/myr_home_dir/lib/'; use warnings; use CGI; use LWP::Simple;

      yes, if you're still having problems I'd check the permissions of the directories leading to lib (other users at least needs read permission)

      "Cogito cogito ergo cogito sum - I think that I think, therefore I think that I am." Ambrose Bierce