Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: run module from cgi-bin

by kutsu (Priest)
on Apr 19, 2005 at 16:27 UTC ( [id://449317]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://449317]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-04-26 02:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found