Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Module-Starter CPAN distribution.

Report information
The Basics
Id: 71734
Status: open
Priority: 0/
Queue: Module-Starter

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 1.54_01
  • 1.55
  • 1.55_01
  • 1.56
  • 1.57
  • 1.58
Fixed in: 1.54



Subject: Attempt to bless into a reference / breaks cas-starter cgiapp-starter
These two don't work with the newest Module::Starter cgiapp-starter Module::Starter::Plugin::CGIApp cas-starter CGI::Application::Structured::Tools the last working version is PETDANCE/Module-Starter-1.54.tar.gz if I go ahead and fix all these error message i get "No modules specified." for "cgiapp-starter --module=MyCGIAppApp --author=author --email=email" please take a look --- lib/Module/Starter/Simple.pm~ 2011-07-02 05:59:32.000000000 -0700 +++ lib/Module/Starter/Simple.pm 2011-10-14 01:49:55.578125000 -0700 @@ -49,7 +49,7 @@ sub new { my $class = shift; - return bless { @_ } => $class; + return bless { @_ } => ref($class) || $class; } =head1 OBJECT METHODS --- lib/Module/Starter/BuilderSet.pm~ 2011-07-02 05:59:32.000000000 -0700 +++ lib/Module/Starter/BuilderSet.pm 2011-10-14 02:01:57.812500000 -0700 @@ -53,7 +53,7 @@ sub new { my $class = shift; - + $class = ref($class) || $class; my $self = { 'Module::Build' => --- lib/Module/Starter/Plugin/Template.pm~ 2011-07-02 05:59:37.000000000 -0700 +++ lib/Module/Starter/Plugin/Template.pm 2011-10-14 02:03:53.921875000 -0700 @@ -43,6 +43,7 @@ sub new { my $class = shift; + $class = ref($class) || $class; my $self = $class->SUPER::new(@_); $self->{templates} = { $self->templates }; $self->{renderer} = $self->renderer; --- lib/Module/Starter/Plugin/CGIApp.pm~ 2010-03-06 19:01:02.000000000 -0800 +++ lib/Module/Starter/Plugin/CGIApp.pm 2011-10-14 02:05:09.515625000 -0700 @@ -64,6 +64,7 @@ sub new { my ( $class, @opts ) = @_; + $class = ref($class) || $class; my $self = $class->SUPER::new(@opts); $self->{templates} = { $self->templates };
RT-Send-CC: vanamburg [...] cpan.org, jaldhar [...] braincells.com
Show quoted text
> These two don't work with the newest Module::Starter > > cgiapp-starter Module::Starter::Plugin::CGIApp > cas-starter CGI::Application::Structured::Tools
I have updated cas-starter in CGI::Application::Structured::Tools 0.015 on CPAN.org to work with the latest Module::Starter. See http://search.cpan.org/~vanamburg/ I would like to mark this issue resolved with regard to cas-starter, but because the cgiapp-starter project is referenced, I will not change the ticket Status. -Gordon
On Sun Feb 12 19:27:09 2012, VANAMBURG wrote:
This issue has been copied to: https://github.com/xsawyerx/module-starter/issues/31. Please take all future correspondence there. This ticket will remain open but please do not reply here. This ticket will be closed when the github issue is dealt with. On Thu Apr 26 12:32:51 2012, JALDHAR wrote: Show quoted text
> On Sun Feb 12 19:27:09 2012, VANAMBURG wrote: