in reply to Re: Installing perl modules
in thread Installing perl modules

I want install Tie::IxHash module.
And I have *no* any commandline access. It's shared Netfirms webhosting. I have FTP access only.

Replies are listed 'Best First'.
Re^3: Installing perl modules
by gellyfish (Monsignor) on Dec 16, 2004 at 15:15 UTC

    In principal, as this is a pure perl module, you could just copy the IxHash.pm file into a lib/Tie directory, say under where your CGI programs are located, and then add the location to your @INC with:

    use lib './lib';
    in your programs. On some platforms you may be forced to give the full path to the 'lib' directory as the notion of '.' might be different for a CGI program.

    /J\

Re^3: Installing perl modules
by edan (Curate) on Dec 16, 2004 at 15:16 UTC

    Then you can probably get away with grabbing the source, changing the package declaration to MyTieIxHash or something, and uploading to MyTieIxHash.pm, and then use tie %hash, 'MyTieIxHash';. YMMV.

    Update: Ah, I didn't see that you can create directories. In that case, create "Tie" directory, put "IxHash.pm" in it, add "use lib '.'" to your script, and you should be good to go.

    --
    edan