Help for this page
sub correlation { my($self, @args) = @_; print "self is $self, there are @args args\n"; }
sub bar { my $self = shift; $self->{funcs}{$self->{method}}(); }
my $x = new Foo; $x->bar;