From: Stéphane Payrard Date: Sat, 5 Jul 2003 01:16:50 +0000 (+0200) Subject: Allow to create more than one Shell object : X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=605870ffea09953bf4597a1d92cf250d07eeda65;p=p5sagit%2Fp5-mst-13.2.git 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 --- diff --git a/lib/Shell.pm b/lib/Shell.pm index 81b2598..e300d79 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 {