in reply to Testing for -c perl switch
Yes ... from perlvar:
$COMPILING $^C The current value of the flag associated with the -c switch. Mainly of use with -MO=... to allow code to alter its behavio +r when being compiled, such as for example to AUTOLOAD at compi +le time rather than normal, deferred loading. See perlcc. Set- ting "$^C = 1" is similar to calling "B::minus_c".
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Testing for -c perl switch
by ddebrito (Sexton) on Apr 18, 2007 at 21:03 UTC | |
by diotalevi (Canon) on Apr 19, 2007 at 00:24 UTC | |
by DrHyde (Prior) on Apr 19, 2007 at 08:48 UTC |