in reply to #include files

I might be misinterpretting, but sounds to me like you need to use the perl 'use' function. Typically, you would put code you want to 'include' into a perl module, and then in the script in which you want to 'use' that module, you would do something like:
use My_Module;
Doing
perldoc perl
and looking for 'module' shows these perldocs are available:
perlmod Perl modules: how they work perlmodlib Perl modules: how to write and use perlmodstyle Perl modules: how to write modules with + style perlmodinstall Perl modules: how to install from CPAN perlnewmod Perl modules: preparing a new module fo +r distribution
My guess is you want the 'perlmodlib' - how to write and use perl modules. So, at a command prompt, do
perldoc perlmodlib
HTH.