in reply to foreach vs. while inside a directory tranversing subroutine
traverse_file($_); [download]
print STDERR "> $_\n"; exit 0 if ++$count > 100; traverse_file($_); print STDERR "<\n"; [download]