Given:
my $ref = sub { $FooConfig->important_func( '1', @_ ) };... then you can write:
$ref->( 'more', $args, %here );... though be cautious and understand how the function reference passes its arguments to the inner function.
Improve your skills with Modern Perl: the free book.
In reply to Re^3: Passing subroutine as argument between packages
by chromatic
in thread Passing subroutine as argument between packages
by Mateusz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |