Skip Menu |

This queue is for tickets about the Test-TempDir CPAN distribution.

Report information
The Basics
Id: 47622
Status: resolved
Priority: 0/
Queue: Test-TempDir

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

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



Subject: Recent Moose broke Test::TempDir
It seems that recent releases of Moose broke Test::TempDir, because they don't want to delegate to a string/classname anymore. The following change fixes that: has handle_class => ( isa => "ClassName", is => "rw", default => "Test::TempDir::Handle", - handles => { new_handle => 'new' }, + handles => { new_handle => sub { shift->handle_class->new(@_) } }, ); Of course, it's debatable whether the upstream change in Moose (or wherever) makes sense. -max
Subject: Re: [rt.cpan.org #47622] Recent Moose broke Test::TempDir
Date: Mon, 6 Jul 2009 12:49:29 -0500
To: bug-Test-TempDir [...] rt.cpan.org
From: Yuval Kogman <nuffin [...] cpan.org>
The upstream change has been reversed in Moose