Quantcast
Channel: ActiveState Community Site - PDK Support
Viewing all articles
Browse latest Browse all 127

Conditional Compile like C

$
0
0

I cannot find any thing like conditional compile.

In C you can define a parm like -DTEST, and in the program use

#if defined #TEST
use FB::CommonDefs
#else
use CommonDefs
#endif

Is this kind of thing supported in PerlApp?

I may have the syntax wrong as it has been years working with C.


Viewing all articles
Browse latest Browse all 127

Trending Articles