Change 20003 by [EMAIL PROTECTED] on 2003/07/05 07:45:16
Allow to create more than one Shell object :
Subject: [patch] Shell.pm fix
From: St�phane Payrard <[EMAIL PROTECTED]>
Date: Sat, 5 Jul 2003 01:16:50 +0200
Message-ID: <[EMAIL PROTECTED]>
Affected files ...
... //depot/perl/lib/Shell.pm#16 edit
Differences ...
==== //depot/perl/lib/Shell.pm#16 (text) ====
Index: perl/lib/Shell.pm
--- perl/lib/Shell.pm#15~18044~ Tue Oct 22 08:43:55 2002
+++ perl/lib/Shell.pm Sat Jul 5 00:45:16 2003
@@ -4,9 +4,9 @@
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 {
End of Patch.