http://www.perlmonks.org?node_id=875214


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

Update - sorry, forgot to hit "Create" and moritz had already backed up their original response with what I wrote below - feel free to ignore or delete!

As moritz was pointing out, using the single quotes as in '<$file' would NOT interpolate, and would only work if you actually had a file called $file.

Replies are listed 'Best First'.
Re^4: anonymous file handler objects
by roadtest (Sexton) on Dec 03, 2010 at 19:18 UTC
    That is the problem and I decide using rename instead of anonymous file handler array:-)

    Thanks for your time and have a good weekend!