in reply to Include statement in Perl?
perldoc perlrun shows
-P
causes your script to be run through the C preprocessor before compilation by Perl. (Because both comments and cpp directives begin with the # character, you should avoid starting comments with any words recognized by the C preprocessor such as ``if'', ``else'', or ``define''.)
This will let you use '#include'...but do be mindful of the security issues others have already raised...
yours,
Michael
|
|---|