On Wed, 23 Jul 2003 22:12:19 -0500, DelphiDude wrote:
> On Tue, 22 Jul 2003 23:51:47 -0500, Hagar wrote:
>
>>
>> Is there a source "include" available for Perl, or a macro statement like
>> in assembler? I assume that there is not, at least by that topic, since I
>
>
> Yep, there are several ways, but look up the keyword "require", as in
>
> require "./myprog.pl";
>
> Remember that this is a scripting language, not an assembler where you can
> tack on includes at the end. You need to require the program before you
> use it.
>
> DD
Thanks man! That worked. It is obvious that require is not exactly an
include and has some stuff that I don't understand yet, but it is close
enough. Thanks again.
Hagar
|