laziness, impatience, and hubris | |
PerlMonks |
Seeking Help w/ Expect.pm...by kendroid (Beadle) |
on Apr 20, 2001 at 01:37 UTC ( [id://74006]=perlquestion: print w/replies, xml ) | Need Help?? |
kendroid has asked for the wisdom of the Perl Monks concerning the following question:
Hi All,
I'm trying to write a script that backs up router configs. I'm able to use Net::Telnet::Cisco to log into and enable the routers. My problem is, whenever I try to remotely copy the config files (copy startup-config tftp), it waits for more input (remote host & destination filename) and doesn't give a prompt back to me. My inclination is to use Expect.pm. In fact, if I weren't inclined to use Perl for this -- it needs to be scalabe -- I'd just use plain vanilla expect. Unfortunately, the Expect.pm documentation is *very* crummy. Any suggestions?
Thanks muchly,
Back to
Seekers of Perl Wisdom
|
|