Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.
After a long, painful session of dodging segfaults, I finally discovered the answer to my problem:
foreach my $method (@methods) {
no strict 'refs';
*$method = sub { shift->$method(@_) };
}
All tests pass and there are no recursion issues. Also, it turns out to be documented core behavior.
Just try and guess why I need this.
My only guess is that... (Score:1)
That situation would avoid all recursion problems with that code and is documented in the core. But I would need to know more about your code to guess why it might do something silly like call the method foo::bar.
However I suspect that you have lots of things that you want dispatched to pac
Re: (Score:1)