in reply to Can File::Find call a method?

File::Find can't, but the wanted function can:

use File::Find qw( find ); my $obj=Some::Class->new(...); find(sub { $obj->someEntry($_) },...);

Inside a method:

use File::Find qw( find ); sub myMethod { my $self=shift; find(sub { $self->otherMethod($_) },...); }

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)