Can't store CODE items at /opt/local/lib/perl5/site_perl/5.12.4/Dancer/Template/Abstract.pm line 149
This is a new runtime error that I am encountering, and I don't even know where to begin to debug this. The only thing different I am doing is that I had to reinstall Perl (and all of Dancer packages) when I upgraded to Mountain Lion. Suggestions? Oh, and the app runs fine a couple of three times of refreshing the browser, and then boom! Then I restart, and it is fine for a couple of three times and then... well, y'know Can't store CODE items at /opt/local/lib/perl5/site_perl/5.12.4/Dancer/Template/Abstract.pm line 149. /opt/local/lib/perl5/site_perl/5.12.4/Dancer/Template/Abstract.pm around line 149 146 $tokens ||= {}; 147 $tokens->{perl_version} = $]; 148 $tokens->{dancer_version} = $Dancer::VERSION; 149 $tokens->{settings} = dclone(Dancer::Config->settings); 150 151 # If we're processing a request, also add the request object, params and 152 # vars as tokens: -- Puneet Kishor
This is already fixed in git and CPAN. Just update Dancer. 29.08.2012 3:16, Puneet Kishor пишет:
This is a new runtime error that I am encountering, and I don't even know where to begin to debug this. The only thing different I am doing is that I had to reinstall Perl (and all of Dancer packages) when I upgraded to Mountain Lion. Suggestions? Oh, and the app runs fine a couple of three times of refreshing the browser, and then boom! Then I restart, and it is fine for a couple of three times and then... well, y'know
Can't store CODE items at /opt/local/lib/perl5/site_perl/5.12.4/Dancer/Template/Abstract.pm line 149.
/opt/local/lib/perl5/site_perl/5.12.4/Dancer/Template/Abstract.pm around line 149 146 $tokens ||= {}; 147 $tokens->{perl_version} = $]; 148 $tokens->{dancer_version} = $Dancer::VERSION; 149 $tokens->{settings} = dclone(Dancer::Config->settings); 150 151 # If we're processing a request, also add the request object, params and 152 # vars as tokens:
-- Puneet Kishor _______________________________________________ Dancer-users mailing list Dancer-users@perldancer.org http://www.backup-manager.org/cgi-bin/listinfo/dancer-users
-- Best Regards, Nick Knutov http://knutov.com ICQ: 272873706 Voice: +7-904-84-23-130
participants (2)
-
Nick Knutov -
Puneet Kishor