Re: Hosting Won't Install Module




"mike" <hillmw@xxxxxxxxxxx> wrote in message
news:1133983695.195644.165810@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> If getting the error message: "Can't locate blah/blah.pm in @INC"
>
> I have a module that I'd like to install that the hosting site will
> not.
>
> Can I put the module somewhere in my directory structure myself and
> call it from my script?
>
> How would I do that? Anyone have an example?
>

See 'perldoc perlmodinstall'.

If it's a pure perl module (no compilation) required then you can just
upload the '.pm' file to /my/perl/directory and start your scripts with:

use lib "/my/perl/directory";

If you do it like that be aware that, for a module called Some::Module,
Module.pm would need to be placed in the /my/perl/directory/Some folder ...
and if the module is named Some::Other::Module, then Module.pm would need to
be placed in /my/perl/directory/Some/Other folder.

Cheers,
Rob


.



Relevant Pages

  • Hosting Wont Install Module
    ... I have a module that I'd like to install that the hosting site will ... Can I put the module somewhere in my directory structure myself and ... Prev by Date: ...
    (comp.lang.perl.modules)
  • Re: Hosting Wont Install Module
    ... > I have a module that I'd like to install that the hosting site will ... aside from the one in the docs included with Perl? ... Prev by Date: ...
    (comp.lang.perl.modules)
  • Re: Win32::API
    ... > I can't get Win32::API to install under cygwin and I couldn't find much ... > on the web or groups about how to get it to install. ... Rob ... Prev by Date: ...
    (comp.lang.perl.modules)
  • Re: how to prevent downloading of an object
    ... > To add to what Rob has told you,from what I gather from your post it is ... >> downloading and then I get a popup like "do you want to install ... Prev by Date: ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Cant reinstall IE6...
    ... Hi Rob - There is no direct Repair function for IE6 in XP. ... How to Reinstall or Repair Internet Explorer and Outlook Express in Windows ... Error Message When You Try to Install Internet ...
    (microsoft.public.windows.inetexplorer.ie6.browser)