[ale] perl include stuff ( off topic)

Eric Z. Ayers eric at compgen.com
Wed Jan 6 15:25:04 EST 1999


it is pretty much the same.  Use th keyword 'use' or 'require' instead 
of #include and use a semicolon after it.

Make sure your perl file with the functions ends with the line:

1;


-Eric.
David Hamm writes:
 > 
 > How do I include some functions in perl.  In C its easy I just 
 > #include "mycrappycode.c" and later I write a .h file and create the library. 
 > How can I do this is perl?
 > 
 > 
 > ---------------------------------
 > David Hamm
 > Systems Analyst
 > Imaging Technologies Services Inc.
 > email: dhamm at itserve.com
 > voice: 404-885-5905
 > ---------------------------------






More information about the Ale mailing list