in reply to Macro in perl code?
You can have a look at the -P option to Perl to have your source run through the C preprocessor but the bundled documentation recommends that you don't. Or, you could have a go at using a source filter (perldoc perlfilter). Both options seem to have some gotchas.