Click here to get back home

Perl Expect question

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Perl Expect question Tim 11-08-2004
Posted by Tim on November 8, 2004, 12:20 pm
Please log in for more thread options
How would you go about grabbing the output from an expect->send? For
example:

$ver = $command->send("show version | include IOSr");

I know this doesn't work, but does anyone know how I would be able to
set the output of that command to a variable?


Thanks.


Similar ThreadsPosted
Expect.pm module help - simple question... March 15, 2005, 12:27 pm
using Net::SSH::Perl with Expect November 21, 2005, 3:41 pm
DBI does not do what I expect... March 12, 2008, 4:18 am
Expect::Simple December 1, 2005, 4:19 pm
Expect::Simple December 2, 2005, 9:22 am
Expect: Getting PID at both ends of ssh January 22, 2007, 3:08 pm
Expect and xterm February 27, 2007, 11:12 pm
username passwd expect September 14, 2006, 12:36 am
Simple expect problem . March 21, 2007, 2:31 pm
Problem with very simple Expect script April 24, 2005, 8:42 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap