in reply to Re^2: anonymous file handler objects
in thread anonymous file handler objects

Then your file name is something.input, and not $file. Since you use '<$file' (single quotes), the variable is not interpolated.

Replies are listed 'Best First'.
Re^4: anonymous file handler objects
by roadtest (Sexton) on Dec 03, 2010 at 15:55 UTC
    That is the problem. I decide using "rename" function instead of file handler:-) Thanks!