[Dancer-users] Can't store CODE items at /opt/local/lib/perl5/site_perl/5.12.4/Dancer/Template/Abstract.pm line 149

Puneet Kishor punk.kish at gmail.com
Tue Aug 28 23:16:15 CEST 2012

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);
151 # If we're processing a request, also add the request object, params and
152 # vars as tokens:

Puneet Kishor

More information about the Dancer-users mailing list