[Dancer-users] When should I use load_plugin and not 'use'

sawyer x xsawyerx at gmail.com
Wed Dec 15 13:55:16 CET 2010


Hi Gurunandan,

This is the code for load_plugin in the latest version of Dancer:
sub load_plugin {
    my ($plugin) = @_;
    croak "load_plugin is DEPRECATED, you must use 'use' instead";
}

Hope this helps. :)

Sawyer.

On Wed, Dec 15, 2010 at 2:50 PM, Gurunandan Bhat <gbhat at pobox.com> wrote:

> When should I use load_plugin in my application as opposed to a plain use?
>
> Thank you
>
>
> _______________________________________________
> Dancer-users mailing list
> Dancer-users at perldancer.org
> http://www.backup-manager.org/cgi-bin/listinfo/dancer-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.backup-manager.org/pipermail/dancer-users/attachments/20101215/4ac6cae4/attachment.htm>


More information about the Dancer-users mailing list