khrt / Raisin

Raisin - a REST API micro framework for Perl 🐫 🐪
61 stars 30 forks source link

Bug in Exporter call #55

Closed adamgsg closed 5 years ago

adamgsg commented 5 years ago

Raisin::API sub import calls export_to_level which expects 3 parameters:

    MyPackage->export_to_level(
        $where_to_export, $package, @what_to_export
    );

However, Raisin::API only passes two parameters. The end result of this is that the first argument passed to "use Raisin::API" is ignored.

khrt commented 5 years ago

Fixed by #57