The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
package x;

use Test::More;

use Symbol::Approx::Sub (xform => undef,
			 match => sub { my ($sub, @subs) = @_;
					foreach (0 .. $#subs) {
					  return $_
					    if $sub eq reverse $subs[$_];
					}
					return;});

sub oof {'yep'};

is(foo(), 'yep', 'foo() calls oof()');

done_testing;