in reply to Passing a parameter to a callback
find(sub { findNewerThan(days(5)) }, $file_dir_root); [download]
my $days = days(5); find(sub { findNewerThan($days) }, $file_dir_root); [download]
Update: I accidently changed days(5) into 5. Fixed.