dcoleyoung has asked for the wisdom of the Perl Monks concerning the following question:
Hello,
Now I picture you guys as the dudes in the Nepalese mountains after seeing "Batman Begins".
I want to store functions that I'm writing in a common file so different files can use them. My approach right now is to store them in a file with "1;" at the end so it can be interpreted. In the calling files I have the line: require './perl_func';
Is there a better way of doing what I'm trying to do (storing functions in a common place)?
Thanks,
Dan
|