#!/usr/bin/perl use File::Find; find (\&testy, "."); sub testy { print $_; }