How about (temporarily) replacing the constructor with your own?
{ my $old_constructor = \&Backend::new; local *Backend::new = sub { $old_constructor->( @_, 'my', 'additional', 'args' ); }; uf_method(); }
You could/should maybe guard against the module version(s) just in case a/your patch to the useful module gets accepted...
In reply to Re: Changing a method call in a CPAN module
by Corion
in thread Changing a method call in a CPAN module
by tirwhan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |