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

spickles has asked for the wisdom of the Perl Monks concerning the following question:

Before I write my own script, I was wondering if anyone has already written a script to parse a directory looking for .pl and .cgi files and change the shebang line? I've got an installation of xampp and perl that I want to move from my c:\ drive to a portable drive. So I was thinking I would parse the files in a directory that have a shebang line and re-write it to point to the new location.

Regards,
Scott