We need to do that all the time.  We call expect as it handles
automated interaction via say SSH better.  Some examples of "use
Expect;":

http://tomacorp.com/perl/expect.html

and note:

http://www.infocopter.com/perl_corner/expect-manpage.htm

On 1/4/06, Anthony Ettinger <[EMAIL PROTECTED]> wrote:
> Any thoughts?
>
>  I'm looking for a "best practices".
>
>  Basically, i'm on foo.org, and need to automate ssh bar.org, and executea
> command or two, then copy the file from that server, then delete it.
>
>  I'd also like to not use 3rd party mods as much as possible.
>
> --
> Anthony Ettinger
> Signature: http://chovy.dyndns.org/hcard.html
>
> _______________________________________________
> Perl-Unix-Users mailing list
> Perl-Unix-Users@listserv.ActiveState.com
> To unsubscribe:
> http://listserv.ActiveState.com/mailman/mysubs
>
>

_______________________________________________
Perl-Unix-Users mailing list
Perl-Unix-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to