in reply to Re: run module from cgi-bin
in thread run module from cgi-bin

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;

Replies are listed 'Best First'.
Re^3: run module from cgi-bin
by kutsu (Priest) on Apr 19, 2005 at 17:14 UTC

    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