Skip Menu |

This queue is for tickets about the Moose CPAN distribution.

Report information
The Basics
Id: 75265
Status: stalled
Priority: 0/
Queue: Moose

People
Owner: Nobody in particular
Requestors: djh [...] cpan.org
Cc:
AdminCc:

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



Subject: apps using Moose cannot use debugger on perl < 5.8.6
On perl 5.8.5 the following one liner fails: perl -de '{ use Moose }' The error message starts: Package::Stash::XS is not a module name at /usr/lib/perl5/site_perl/5.8.5/Package/Stash.pm line 40. This is due to a known bug in Package::Stash http://rt.cpan.org/Ticket/Display.html?id=74151 I thought it worth reporting here since as a Moose noob, I need to use the debugger! It may make it easier for others to find.
On Fri Feb 24 06:32:10 2012, DJH wrote: Show quoted text
> On perl 5.8.5 the following one liner fails:
Any Perl that old is basically of my radar. I suspect the same applies to other Moose maintainers. We've been planning to soft-deprecate 5.8.x support in Moose entirely. I don't remember exactly when we planned to do that, but probably later this year. Patches that aren't too invasive would be welcome, but I don't think we want to carry a lot of hacks to support 5.8.x.
Subject: Re: [rt.cpan.org #75265] apps using Moose cannot use debugger on perl < 5.8.6
Date: Fri, 24 Feb 2012 11:35:27 -0600
To: Dave Howorth via RT <bug-Moose [...] rt.cpan.org>
From: Jesse Luehrs <doy [...] tozt.net>
I think I know what's causing this, and if I'm right, some of my plans for future refactoring of Package::Stash should fix this incidentally. Not sure when I'll be able to get around to this though, I've been a bit busy recently. -doy
On 2012-02-24 12:35:45, doy@tozt.net wrote: Show quoted text
> I think I know what's causing this, and if I'm right, some of my > plans for future refactoring of Package::Stash should fix this > incidentally. Not sure when I'll be able to get around to this though, > I've been a bit busy recently.
I can have a poke around if you want to tell me where to poke. I used to be able to write C. I did find a workaround to my problem, which is to use the PP implementation of package::Stash rather than the XS version. Dave, I understand where you're coming from. I reported it in part as just another data point in making deprecation decisions.
I don't see us fixing bugs with pre 5.8.8 Perl any time soon.