Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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.

Thanks,


Comment on Re^2: anonymous file handler objects
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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://875198]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (15)
As of 2014-12-18 17:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (59 votes), past polls