Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re^2: anonymous file handler objects

by roadtest (Sexton)
on Dec 03, 2010 at 15:06 UTC ( #875198=note: print w/replies, xml ) Need Help??

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

Yes, I have many market related *.input files under one directory. Try to use perl to back them up.


Replies are listed 'Best First'.
Re^3: anonymous file handler objects
by moritz (Cardinal) on Dec 03, 2010 at 15:13 UTC
      That is the problem. I decide using "rename" function instead of file handler:-) Thanks!
Re^3: anonymous file handler objects
by mjscott2702 (Pilgrim) on Dec 03, 2010 at 16:26 UTC
    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.
      That is the problem and I decide using rename instead of anonymous file handler array:-)

      Thanks for your time and have a good weekend!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://875198]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2018-03-18 19:59 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (230 votes). Check out past polls.