summaryrefslogtreecommitdiff
path: root/lib/Shell.pm
diff options
context:
space:
mode:
authorStéphane Payrard <stef@mongueurs.net>2003-07-05 03:16:50 +0200
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-07-05 07:45:16 +0000
commit605870ffea09953bf4597a1d92cf250d07eeda65 (patch)
treeb74c924ed960d8b1fe8c74e04e67f01fda1975fc /lib/Shell.pm
parentc40276355ddd3ed437b61902914807e940571ff5 (diff)
downloadperl-605870ffea09953bf4597a1d92cf250d07eeda65.tar.gz
Allow to create more than one Shell object :
Subject: [patch] Shell.pm fix Message-ID: <20030704231650.GA19701@stefp.dyndns.org> p4raw-id: //depot/perl@20003
Diffstat (limited to 'lib/Shell.pm')
-rw-r--r--lib/Shell.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Shell.pm b/lib/Shell.pm
index 81b25985a5..e300d792c6 100644
--- a/lib/Shell.pm
+++ b/lib/Shell.pm
@@ -4,9 +4,9 @@ use strict;
use warnings;
our($capture_stderr, $VERSION, $AUTOLOAD);
-$VERSION = '0.4';
+$VERSION = '0.5';
-sub new { bless \$VERSION, shift } # Nothing better to bless
+sub new { bless \my $foo, shift }
sub DESTROY { }
sub import {