http://qs321.pair.com?node_id=1224288


in reply to Re^2: Loop through all directory and files and lines
in thread Loop through all directory and files and lines

The problem is your code contains no subroutines , yet contains four loops -- it should contain three subroutines minimum