[plug] local perl module

Jeremy Malcolm Jeremy at Malcolm.id.au
Thu Feb 6 21:33:15 WST 2003


On Thu, 6 Feb 2003 13:17:30 +0000 (UTC)
billk at iinet.net.au (William Kenworthy) wrote:

> I wish to use Switch.pm, a standard perl module as a user on a server
> I dont have root privileges to, so wont be able to get done until
> tomorrow.  As I cant install it into the system, is there a way to
> install and use it locally?

Yes there is, you just need to add this near the top of your script:

  use lib "/path/to/the/module";

-- 
JEREMY MALCOLM <Jeremy at Malcolm.id.au> Personal: http://www.malcolm.id.au
Providing online networks of Australian lawyers (http://www.ilaw.com.au)
and Linux experts (http://www.linuxconsultants.com.au) for instant help!
Disclaimer: http://www.terminus.net.au/disclaimer.html. GPG key: finger.



More information about the plug mailing list