D
ddtl
Hello,
Is it possible to textually include external files into a perl script,
the way C/C++'s 'include FILE' does? I don't want to use
do/eval/use/require for that purpose, because using those imposes
additional requirements. For example, in order to use 'eval', additional
code to open and read the files is required, and private ('my') variables
from the 'eval'ed files are not accessible.
I just want to be able to split the original file into smaller
pieces and have them assembled back automatically by the compiler,
so that the semantics would be identical in both cases.
ddtl.
Is it possible to textually include external files into a perl script,
the way C/C++'s 'include FILE' does? I don't want to use
do/eval/use/require for that purpose, because using those imposes
additional requirements. For example, in order to use 'eval', additional
code to open and read the files is required, and private ('my') variables
from the 'eval'ed files are not accessible.
I just want to be able to split the original file into smaller
pieces and have them assembled back automatically by the compiler,
so that the semantics would be identical in both cases.
ddtl.