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
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?
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 imbibing at the Monastery: (8)
As of 2015-07-08 02:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls