Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: Is it possible to use modules without installing them?

by gmpassos (Priest)
on Aug 31, 2002 at 20:51 UTC ( #194385=note: print w/replies, xml ) Need Help??

in reply to Is it possible to use modules without installing them?

You can put the module in the same directory of the script, in this case, I think, your cgi-bin.

Let's use like a module, with a XS too. 1st get it, compile and install in some Perl interpreter that you have access, with the same OS of your server. They will be instaled at: (let's use Perl for Win32 like example (path more simple))

To enable this module in the server just copy all the stuf from inside site/lib to your server, with the same path. In the cgi-bin will be like:

This will work fine, because Perl use your local path like a lib directory too (see @INC). About the directory auto/FOO, copy everything inside to the server, not only the DLL. And if your module have other sub-modules you need to copy the directory site/lib/FOO too.

Using this steps you don't need a shell acount to do that, just a FTP! Don't forget to send the .pm like ANSII and the DLL (or .so on linux) like binary!

Graciliano M. P.

"The creativity is the expression of the liberty".

  • Comment on Re: Is it possible to use modules without installing them?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://194385]
[robby_dobby]: Corion: I hope you know all too well that passing around "fancy" datastructures is a recipe for disaster :-)
[robby_dobby]: As in, it's-too-fancy- that-it-will-be- messy-to-handle
[choroba]: bit vectors as keys?
[robby_dobby]: Hmm, I keep falling asleep at my desk, while maintaining an active appearance. Am I getting old?
[robby_dobby]: Every time I fall asleep, there's a small guy in the dreams, shouting "Whoo!" and it jolts me awake. :/
[Lady_Aleena]: robby_dobby, at least you aren't driving. I seem to always be driving somewhere in my dreams and end up at a weird house.
[robby_dobby]: LA: That's there. But this is work and it's the same thing as falling asleep driving :-)

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2017-05-29 08:04 GMT
Find Nodes?
    Voting Booth?