From cb9421477043774405bb5bd18b081f0689f30557 Mon Sep 17 00:00:00 2001 From: jluehrs2 Date: Thu, 16 Aug 2007 21:46:39 -0500 Subject: pod also requires newlines before commands --- lib/IO/Pty/Easy.pm | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lib/IO/Pty/Easy.pm b/lib/IO/Pty/Easy.pm index cf86a24..f69ba29 100644 --- a/lib/IO/Pty/Easy.pm +++ b/lib/IO/Pty/Easy.pm @@ -5,6 +5,7 @@ use IO::Pty; use Carp; # Intro documentation {{{ + =head1 NAME IO::Pty::Easy - Easy interface to creating and using pseudo-ttys with IO::Pty @@ -44,6 +45,7 @@ C provides an interface to L which hides most of the ugl C uses L internally, so it inherits all of the portability restrictions from that module. =cut + # }}} =head1 CONSTRUCTOR @@ -51,6 +53,7 @@ C uses L internally, so it inherits all of the portabili =cut # new() {{{ + =head2 new() The C constructor initializes the pty and returns a new C object. The constructor recognizes these parameters: @@ -95,6 +98,7 @@ sub new { =cut # spawn() {{{ + =head2 spawn() Fork a new subprocess, with stdin/stdout/stderr tied to the PTY. @@ -177,6 +181,7 @@ sub spawn { # }}} # read() {{{ + =head2 read() Read data from the process running on the PTY. @@ -206,6 +211,7 @@ sub read { # }}} # write() {{{ + =head2 write() Writes a string to the PTY. @@ -233,6 +239,7 @@ sub write { # }}} # is_active() {{{ + =head2 is_active() Returns whether or not a subprocess is currently running on the PTY. @@ -247,6 +254,7 @@ sub is_active { # }}} # kill() {{{ + =head2 kill() Kills the process currently running on the PTY (if any). After this call, C and C will fail, and a new process can be created on the PTY with C. @@ -264,6 +272,7 @@ sub kill { # }}} # close() {{{ + =head2 close() Kills any subprocesses and closes the PTY. No other operations are valid after this call. @@ -284,9 +293,11 @@ sub close { # }}} # Ending documentation {{{ + =head1 SEE ALSO L + L =head1 AUTHOR @@ -339,6 +350,7 @@ This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. =cut + # }}} 1; -- cgit v1.2.3-54-g00ecf