http://qs321.pair.com?node_id=142068


in reply to Transformation

As a matter of code cleanliness, it's important to add or die "Some message: $!" after your open statements. This will save the sanity of you and your users.

You could also use heredocs when writing to both the NEW and MAKE file handles -- this would make the code easier to read, and would also mean you don't have to wrry about escaping all of the various magic characters. Try it -- you'd be amazed at how much cleaner the code will look. Easier to maintain, too.

--t. alex

"Of course, you realize that this means war." -- Bugs Bunny.