![]() |
|
Perl: the Markov chain saw | |
PerlMonks |
Re: Literal Source Parameters At Runtimeby tuxz0r (Pilgrim) |
on Oct 29, 2007 at 15:37 UTC ( #647865=note: print w/replies, xml ) | Need Help?? |
perl also has the -P option , which passes the program through the C preprocessor before exectution. So, using that option, you could use the exact same approach as you are in C++, using a #define.
Output:
---
In Section
Seekers of Perl Wisdom
|
|