Hello,
this problem is in changing 'before' to hooks. You change from:
before sub {
......
};
to this :
hook before_template => sub {
....
};
This change is on subs 'before', 'before_template' and 'after' to call this via
hook
> ------------ Původní zpráva ------------
> Od: Puneet Kishor <[email protected]>
> Předmět: [Dancer-users] finding Dancer::before
> Datum: 13.2.2012 05:01:20
> ----------------------------------------
> Since I upgraded to the latest version of Dancer, I get the following message
>
> Dancer::before has been deprecated since version 1.3080. use hooks! at
> /opt/local/lib/perl5/site_perl/5.14.1/Dancer.pm line 118
>
> Except, as far as I can tell, I have not used `before` anywhere. Perhaps one
> of
> the plugins I am using... except, the only plugin I am using is
> Dancer::Plugin::Database; which is the latest version (1.80). Any suggestions
> as
> to how I can locate this offending `before` and change it?
>
>
> --
> Puneet Kishor
> _______________________________________________
> Dancer-users mailing list
> [email protected]
> http://www.backup-manager.org/cgi-bin/listinfo/dancer-users
>
>
>
_______________________________________________
Dancer-users mailing list
[email protected]
http://www.backup-manager.org/cgi-bin/listinfo/dancer-users