[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] perl include stuff ( off topic)
- Subject: [ale] perl include stuff ( off topic)
- From: eric at compgen.com (Eric Z. Ayers)
- Date: Wed, 6 Jan 1999 15:25:04 -0500 (EST)
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
> ---------------------------------