summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJerry D. Hedden <jdhedden@cpan.org>2007-04-10 09:54:10 -0400
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-04-11 13:08:49 +0000
commitd93b8986a5bde3909220a24cbee3f646a5fcacd3 (patch)
tree5b2225d2744f06bef554fde9b39d0aa32ecb3134 /lib
parent2b9a4c7603de4c0f599ff030bdb8add489131ef4 (diff)
downloadperl-d93b8986a5bde3909220a24cbee3f646a5fcacd3.tar.gz
Correct Shell.pm POD regarding $Shell::capture_stderr
From: "Jerry D. Hedden" <jdhedden@cpan.org> Message-ID: <1ff86f510704101054q2ccc7c10l66d62971716877f9@mail.gmail.com> p4raw-id: //depot/perl@30907
Diffstat (limited to 'lib')
-rw-r--r--lib/Shell.pm9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/Shell.pm b/lib/Shell.pm
index 082388402a..72c7ec2137 100644
--- a/lib/Shell.pm
+++ b/lib/Shell.pm
@@ -6,7 +6,8 @@ use File::Spec::Functions;
our($capture_stderr, $raw, $VERSION, $AUTOLOAD);
-$VERSION = '0.72';
+$VERSION = '0.72_01';
+$VERSION = eval $VERSION;
sub new { bless \my $foo, shift }
sub DESTROY { }
@@ -205,11 +206,15 @@ quotes (C<">) on Windows.
=head2 Configuration
-If you set $Shell::capture_stderr to true, the module will attempt to
+If you set $Shell::capture_stderr to 1, the module will attempt to
capture the standard error output of the process as well. This is
done by adding C<2E<gt>&1> to the command line, so don't try this on
a system not supporting this redirection.
+Setting $Shell::capture_stderr to -1 will send standard error to the
+bit bucket (i.e., the equivalent of adding C<2E<gt>/dev/null> to the
+command line). The same caveat regarding redirection applies.
+
If you set $Shell::raw to true no quoting whatsoever is done.
=head1 BUGS