more useful options | |
PerlMonks |
Re: organizing large flat modules? use, require, do, ...by jaldhar (Vicar) |
on Jan 12, 2004 at 19:38 UTC ( [id://320737]=note: print w/replies, xml ) | Need Help?? |
I know Perl doesn't have an #include directive. Sure it does. the -P flag to perl runs the code through cpp first. Here's a quick example:
note -P can have problems distinguishing between preprocessor directives and perl comments. Also I don't know how well it works on non-Unix platforms where cpp might be missing. All in all it's a poor solution to your problem but it's there if you do need to us it. --
In Section
Seekers of Perl Wisdom
|
|