I think that by the time lib modifies @INC, ifdef has already done its thing. One possible workaround would go something like:
$ PERL5LIB=perl5lib:$PERL5LIB perl -Mifdef=DEBUGGING foo.pl
the lowliest monk
In reply to Re^3: ifdef in modules
by tlm
in thread ifdef in modules
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |