in reply to Re^5: perl challenge 3
in thread Reaped: perl challenge 3

i get no output and no errors

as well does that mean there is no file larger than 500kbyte

Good question, you have taken step one in Basic debugging checklist , now just keep going , simplify the question, the code, repeat

Write a program to find out, are there any files at all?