Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: rename file extension

by chuckbutler (Priest)
on Feb 24, 2010 at 16:33 UTC ( #825103=note: print w/ replies, xml ) Need Help??


in reply to rename file extension

One thing I would change after correcting for the afore mentioned syntax error would be

... print(FHA "$new_filenname$new_ext\t$file\n"); ...
if you need to change one file name to another. Depending on what you need to do with the output, this will let you audit the change and only act on items that need a change. Good luck. -c


Comment on Re: rename file extension
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2014-08-30 12:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (293 votes), past polls