|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Storing Functionsby dcoleyoung (Initiate) |
| on Dec 12, 2005 at 14:51 UTC ( [id://516125]=perlquestion: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.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
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||