in reply to The Case for Macros in Perl
Perl 4 had the -P option, which would run the C preprocessor over your script before compiling it. That was eventually removed(for better or for worse).
Today, you'd want to use something described in perlfilter.
-Thomas
"Excuse me for butting in, but I'm interrupt-driven..."
|
|---|