From: Yuval Kogman Date: Mon, 31 Aug 2009 19:15:34 +0000 (+0300) Subject: voodoo for ancient perls X-Git-Tag: Try-Tiny-0.01~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ae53da51cdb8704e63bfbc6e13ccbb0816a2fa62;p=p5sagit%2FTry-Tiny.git voodoo for ancient perls --- diff --git a/lib/Try/Tiny.pm b/lib/Try/Tiny.pm index 53ffa59..665a8e9 100644 --- a/lib/Try/Tiny.pm +++ b/lib/Try/Tiny.pm @@ -1,10 +1,14 @@ package Try::Tiny; use strict; -use warnings; +#use warnings; -use base qw(Exporter); -use vars qw(@EXPORT @EXPORT_OK $VERSION); +use vars qw(@EXPORT @EXPORT_OK $VERSION @ISA); + +BEGIN { + require Exporter; + @ISA = qw(Exporter); +} $VERSION = "0.01"; diff --git a/t/when.t b/t/when.t index a411ac5..e6d64e6 100644 --- a/t/when.t +++ b/t/when.t @@ -1,7 +1,7 @@ #!/usr/bin/perl use strict; -use warnings; +#use warnings; use Test::More;