Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

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.


Comment on Re^2: anonymous file handler objects
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2016-02-08 12:50 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (276 votes), past polls