NAME IPC::RunSession::Simple - Run a simple IPC session in the same vein as IPC::Run & Expect VERSION Version 0.001 SYNOPSIS use IPC::RunSession::Simple $session = IPC::RunSession::Simple->open( "fcsh" ) # Read until the prompt (which doesn't end in a newline) # Timeout after 5 seconds $result = $session->read_until( qr/\(fcsh\) /, 5 ) if ( $result->closed ) { # We encountered an (abnormal) EOF... } elsif ( $result->expired ) { # The timeout got triggered... } else { print $result->content } # Tell 'fcsh' we want to quit $session->write( "quit\n" ) DESCRIPTION A simple IPC session with read/write capability using IPC::Open3 and IO::Select SEE ALSO IPC::Run Expect AUTHOR Robert Krimen, "" BUGS Please report any bugs or feature requests to "bug-ipc-runsession-simple at rt.cpan.org", or through the web interface at . I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. SUPPORT You can find documentation for this module with the perldoc command. perldoc IPC::RunSession::Simple You can also look for information at: * RT: CPAN's request tracker * AnnoCPAN: Annotated CPAN documentation * CPAN Ratings * Search CPAN ACKNOWLEDGEMENTS COPYRIGHT & LICENSE Copyright 2009 Robert Krimen. This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License. See http://dev.perl.org/licenses/ for more information.