in reply to Re: How to tail file on remote host
in thread How to tail file on remote host

Im hoping it is easy to install this in my local lib path since I don't have access to the server to install this package.

Thanks for the input.  This looks pretty simple.


-Wayne

Replies are listed 'Best First'.
Re^3: How to tail file on remote host
by salva (Canon) on Oct 01, 2008 at 20:06 UTC
    The only requirement is that, to handle password authentication, it needs Expect.

    If you use public/private key pairs for authentication exclusively (that's what you should be doing anyway), no additional modules are required.

    Just (recursively) copy the contents of the lib directory to the right place in your server and you are done with the installation!

      Thanks Salva,
      
      
      Yes I would do that except in this case I have not way to copy into the server since I dont have permission to copy anything into the perl5lib directory.   I was doing to put it in my custom lib path somewhere and try this.  I know they have expect stuff installed, but when I did a use on the SMTP package it could not find it.
      
      -Wayne
        Copy the modules you want to use into a directory under your home (for instance: /home/wayne/lib/perl5) and then, add at the beginning of your scripts...
        use lib => '/home/wayne/lib/perl5/';
        Actually, most modules can be installed in a custom place just using the Makefile.PL PREFIX option.

        For instance, on my system:

        $ perl Makefile.PL PREFIX=~/ $ make $ make test $ make install
        will install the module under /home/salva/share/perl/5.10.0/