Software Index
Linux Software Utilities  

Expect::Simple

download download home home   report broken
important software information
company name:
Diab Jerius
license: Freeware
minimum requirements:
functional limitations:
Expect::Simple description
Expect::Simple is a Perl wrapper around the Expect module which should suffice for simple applications. It hides most of the Expect machinery; the Expect object is available for tweaking if need be.

Generally, one starts by creating an Expect::Simple object using new. This will start up the target program, and will wait until one of the specified prompts is output by the target. At that point the caller should send() commands to the program; the results are available via the before, after, match_str, and match_idx methods. Since Expect simulates a terminal, there will be extra
characters at the end of each line in the result (on UNIX at least). This is easily fixed:

($res = $obj->before) =~ tr/
//d;
@lines = split( "
", $res );

This is not done automatically.

Exceptions will be thrown on error (match with /Expect::Simple/). Errors from Expect are available via the error_expect method. More human readable errors are available via the error method.

The connection is automatically broken (by sending the specified disconnect command to the target) when the Expect::Simple object is destroyed.

SYNOPSIS

use Expect::Simple;

my $obj = new Expect::Simple. . Publisher of Expect::Simple, Author of Expect::Simple 0.04. Expect::Simple is a Perl wrapper around the Expect module which should suffice for simple applications. It hides most of the Expect machinery; the Expect object is available for tweaking if
Similar software
Simple Stopwatch (Popularity: ) : Simple Stopwatch is a simple stopwatch timer with Hrs:Mins:Secs.Ms, Start, Continue, Pause and Reset.

About Adobe AIR

Adobe AIR runtime allows Adobe AIR applications to be deployed on computers and devices running the Linux operating system. In addition, Adobe Flex Builder for ...

ESR Backup (Popularity: ) : ESR Backup is a simple easy to use backup system for UNIX and Linux. It provides a simple, easy to configure solution for file system integrity.

ESR Backup project works on an automatic 2 week cycle to assure you have an ...

ciscoconfparse (Popularity: ) : ciscoconfparse is a Python library for parsing through Cisco IOS-style configurations and retrieving portions of the config based on a variety of query methods.

The package will process an IOS-style config and break it into a set of linked parent / ...

CRUX for Linux (Popularity: ) : CRUX is a lightweight, i686-optimized Linux distribution targeted at experienced Linux users.

The primary focus of this distribution is "keep it simple", which is reflected in a simple tar.gz-based package system, BSD-style initscripts, and a relatively small collection of trimmed packages.

The ...

check_diskio (Popularity: ) : check_diskio project is a simple Nagios plugin to monitor disk I/O on Linux systems (2.4 and 2.6 kernels).. . Publisher of check_diskio, Author of check_diskio 3.0.3. check_diskio project is a simple Nagios plugin to monitor disk IO on Linux systems ...
Cons (Popularity: ) : Cons is a Software Construction System.

Cons is a system for constructing, primarily, software, but is quite different from previous software construction systems. Cons was designed from the ground up to deal easily with the construction of software spread over multiple ...

CurlFtpFS (Popularity: ) : CurlFtpFS is a filesystem for acessing FTP hosts based on FUSE and libcurl. CurlFtpFS project automatically reconnects if the server times out.. CurlFtpFS - A FTP filesystem based in cURL and FUSE. Publisher of CurlFtpFS, Author of CurlFtpFS 0.9.1. CurlFtpFS ...
synaptiks (Popularity: ) : synaptiks is a touchpad management utility for KDE. It provides a simple configuration interface and can automatically switch off your touchpad on keyboard activity or if mouse devices are plugged.. BerliOS Developer: Welcome. Publisher of synaptiks, Author of synaptiks 0.2.0. ...
srm (Popularity: ) : srm is a secure replacement for rm.

Unlike the standard rm, it overwrites the data in the target files before unlinking them. This prevents command-line recovery of the data by examining the raw block device. It may also help frustrate physical ...

SHFS (Popularity: ) : Shfs is a simple and easy to use Linux kernel module which allows you to mount remote filesystems using a plain shell (ssh) connection.

When using shfs, you can access all remote files just like the local ones, only the access ...

Entrance (Popularity: ) : Entrance project is a MySQL client. Entrance also provides tools for exchanging data with other applications, like spreadsheets, and tools for exploring data using an innovative technique called "data painting".

Shown below is the Entrance main window, with a single MySQL ...

eFront (Popularity: ) : eFront project is an easy to use, visually attractive, SCORM compatible, eLearning and Human Capital Development platform.

Here are some key features of "eFront":

· Easy to use eFront was build from the scratch with the end user in mind. You will ...

User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
Email*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
 
Similar scripts
Expect-Lite (Popularity: ) : Expect-Lite is a wrapper for expect, created to make expect programming even easier. The wrapper permits the creation of expect script command files by using a special character(s) at the beginning of each line to indicate the expect-lite action.

Basic ...

PHP-Fusion for Scripts (Popularity: ) : It uses MySQL as a data storage engine to save site content and includes a simple yet comprehensive administration system.PHP-Fusion includes the most common features a developer would expect to see in many other CMS packages including news, articles, forums, ...
Simple Forum PHP (Popularity: ) : If you search for a simple forum on your website - Simple Forum PHP is that what you need.
Visitors to your website will be able to post new topics or to discuss other threads.
Any publication of a new topic ...

Simple Blog PHP (Popularity: ) : Simple Blog PHP script is easy to put on your website.
Visitors to your website can read your posts and leave comments.
Any publication of a new comment is spam protected by captcha image.
Administrator has his own password protected page.

Simple Blog ...

Simple Content Management System (Popularity: ) : Simple content management system (CMS) for publishing and editing website content as well as site management from an easy-to-use web based administration panel. Unlike the other content management systems on the market our Simple PHP CMS script is primarily focused ...
Simple Authorization (Popularity: ) : Simple Authorization Script, or SAS, is a php script which allows for web pages to be password protected without the use of a database. It's simple to install and simple to use. Simple Authorization Script uses php and cookies to ...
php-blog-simple (Popularity: ) : Simple php blogging system
A simple calculator (Popularity: ) : A simple calculator script shows you the algorithm necessary to build a simple calculator.
Insanely Simple Blog (Popularity: ) : Insanely Simple Blog is a simple blog application made for anyone. It is a really simple MySQL/PHP page that offers a fully functional single-user blog, with sections, subsections and nested commenting.
PHP Simple FAQ (Popularity: ) : Built on PHP and MySQL, PHP Simple FAQ is just that, a simple, easy to use and administrate FAQ system for websites. Completely text-based and multi-lingual, it can easily conform to any web site since it works off of just ...
Rate me
supported os's
stats
downloads 6
version 0.04
size in Kb 10
popularity   
1149/1272475
user rating 5/10
our rating 0 Stars
share info
Recommend Expect::Simple
Report spyware
New Software
Popular Software
Latest Reviews