Beefy Boxes and Bandwidth Generously Provided by pair Networks kudra
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Edit a List of Files

by chanio (Priest)
on Apr 11, 2006 at 04:03 UTC ( #542442=note: print w/ replies, xml ) Need Help??


in reply to Edit a List of Files

Thank you!

A very useful script.

I would like to add something to my own version of this script (as soon as I can find the time to do it, sorry ;) ):

  • > Log files should speak clear and simple. Those are tools to work with even if the user ignores what the script is doing. After some time, I might forget what was the script doing. When preparing logs for large number of processed files it is easier to read one or two lines clearly identified with each file.
  • > Making a more expressive table of regexes that could load inside a hash with different extensions and another generic key that would apply to all files. That would be easy by just starting from a standard template with fields to fill in. (A kind of ini file where lines starting with # wouldn't count as values. And keys would start without any tab character)
  • > Modules could make this script useful for any platform!
Then this script could become a very powerful tool!


Comment on Re: Edit a List of Files
Re^2: Edit a List of Files
by lev36 (Sexton) on Apr 11, 2006 at 21:08 UTC

    Thanks for your comments, Chanio. I'm considering how to make the log file a little more clear and informative.

    Your other suggestions sound good too, though they are more than I have time to figure out right now.

    And you should certainly feel free to take it and modify it for your own use! Especially if you share what you did and why, so I can learn yet more.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2014-04-20 12:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls