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

use Test::More tests => 1;

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

sub oof {'yep'};

ok(foo() eq 'yep');