use File::Spec::Functions 'rel2abs'; find sub { blah blah } map rel2abs($_), @dirs;