tags:

views:

97

answers:

0

Possible Duplicate:
How do I include functions from another file in my Perl script?

I have a couple simple perl scripts that share some subroutines. I'd like to pull those subroutines out into another file, but I'm not sure how to go about doing that.

All I need is an equivalent to C's #include. I found a couple things online about creating modules, but that seems like overkill for what I'm doing.

Is there a way to just tell perl to load/execute another perl script inline, so it's treated as if it's just part of the file (like #include in C)?