Skip to content

Plugin::LogReport broken by plugin2 #1156

@SysPete

Description

@SysPete

#1078 (comment) says:

Thanks @xsawyerx - I will give some better details when I get a chance to look into it properly, but (from memory) it basically boils down to no longer being able to import functions (or pass options) when loading a plugin. Although one could argue that this is not what a plugin is for, it is nonetheless a regression from the old system. It is also very useful to be able to do so: imagine that you have a "normal" module that exports a bunch of functions, and you want a Dancer plugin variant (as is the case with LogReport). It's much nicer being able to load a plugin and get all the normal module functionality plus some special Dancer things, rather than to have to load both the core module plus the plugin.

Like I say, I'll pass more details when I get a chance, I just wanted to give an initial heads-up. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions