Skip Menu |

This queue is for tickets about the Role-Tiny CPAN distribution.

Report information
The Basics
Id: 87131
Status: resolved
Priority: 0/
Queue: Role-Tiny

People
Owner: Nobody in particular
Requestors: perl [...] toby.ink
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Role::Tiny::With requires a newer version of Exporter.pm than that which comes bundled with Perl 5.6
I'll probably fix this myself; just creating an issue so I don't forget. Exporter.pm only started exporting "import" in 5.57, which was bundled with Perl 5.8.3.
Subject: Re: [rt.cpan.org #87131] Role::Tiny::With requires a newer version of Exporter.pm than that which comes bundled with Perl 5.6
Date: Sun, 21 Jul 2013 22:53:26 -0700
To: Toby Inkster via RT <bug-Role-Tiny [...] rt.cpan.org>
From: Karen Etheridge <ether [...] cpan.org>
On Sun, Jul 21, 2013 at 04:53:03PM -0400, Toby Inkster via RT wrote: Show quoted text
> I'll probably fix this myself; just creating an issue so I don't forget. > Exporter.pm only started exporting "import" in 5.57, which was bundled with Perl 5.8.3.
Are you saying that 'import' shouldn't be used, or that the minimum perl version required should be listed as 5.8.3 in metadata?
Possible solutions: 1. replace "use Exporter 'import'" with "use base 'Exporter'". 2. Add a dependency on Exporter 5.57 to Makefile.PL. (It's dual-life.) 3. Stop using Exporter at all. (Role::Tiny itself doesn't use it, so there's no real reason why Role::Tiny::With must.)
Explicit version added to prereqs.