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

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

Replies are listed 'Best First'.
Re^5: How to tail file on remote host
by salva (Canon) on Oct 01, 2008 at 20:43 UTC
    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/