diff options
-rw-r--r-- | Changes | 3 | ||||
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | lib/POSIX/Run/Capture.pm | 13 |
3 files changed, 14 insertions, 4 deletions
@@ -1,5 +1,8 @@ Revision history for Perl extension POSIX::Run::Capture. +0.02 Fri Dec 1 08:54:18 + - first release + 0.01 Thu Jul 20 18:17:18 2017 - original revision @@ -3,7 +3,7 @@ POSIX-Run-Capture version 0.01 POSIX::Run::Capture runs an external command and captures its output. Both standard error and output are captured. Upon exit, their contents can be -accesses line by line or in one chunk. Callback routines can be supplied +accessed line by line or in one chunk. Callback routines can be supplied that will be called for each complete line of output read, providing a way for synchronous processing. Standard input can be supplied as either a filehandle or a text. diff --git a/lib/POSIX/Run/Capture.pm b/lib/POSIX/Run/Capture.pm index ad14e8d..ca1446a 100644 --- a/lib/POSIX/Run/Capture.pm +++ b/lib/POSIX/Run/Capture.pm @@ -28,7 +28,7 @@ our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } ); #our @EXPORT = qw(); -our $VERSION = '0.01'; +our $VERSION = '0.02'; require XSLoader; XSLoader::load('POSIX::Run::Capture', $VERSION); @@ -92,8 +92,15 @@ POSIX::Run::Capture - run command and capture its output =head1 DESCRIPTION -This module prefers performance and effectiveness over portability. As its -name suggests, it can be used only on POSIX systems. +Runs an external command and captures its output. Both standard error and +output can be captured. Standard input can be supplied as either a +filehandle or a text. Upon exit, the captured streams can be accessed line +by line or in one chunk. Callback routines can be supplied that will be +called for each complete line of output read, providing a way for synchronous +processing. + +This module is for those who value performance and effectiveness over +portability. As its name suggests, it can be used only on POSIX systems. =head2 new POSIX::Run::Capture |