in reply to Some automation on Perlscripts?

Yea, there is a possible security risk involved with your method. Plus a lot of typing *everytime* you add a new file to your directory. That seems like a lot of work. :-)

I use an IDE for all of my work related Perl and it has an option for a new file template. But I have never found typing the above mentioned two lines a burden.