in reply to Mixing configuration options and exports in 'use' statement

I don't think you need goto, here's a snippet that I've often used:

use parent 'Exporter'; sub import { # fiddle with @_ all you like here __PACKAGE__->export_to_level(1, @_); return; }

Replies are listed 'Best First'.
Re^2: Mixing configuration options and exports in 'use' statement
by Dallaylaen (Chaplain) on Dec 22, 2017 at 21:00 UTC
    Nice! Somehow I never did RTFM that far...