[Trilug-ontopic] Linux/Perl/Expect question

Michael Peters mpeters at plusthree.com
Wed Oct 29 15:45:22 EDT 2008


Greg Brown wrote:

> I suppose it's more of an expect script.  All my existing expect script 
> just run commands based on values returned - and they all run totally in 
> expect.  How do I launch the perl script and then read back from the 
> expect script ONLY the results of the 'show run' command?

Have you tried using the Expect module in the Perl script itself?

-- 
Michael Peters
Plus Three, LP



More information about the Trilug-ontopic mailing list