Also note that using a function reference with the method syntax works just fine. Consider the following example where an unnamed method is called from an object in a class with no methods of its own:
my $foo = bless {}, "bar";
my $meth = sub {shift; print shift};
$foo->$meth("Sneaky");