[% setvar title C<$^C> should be true when compiling %]
Note: these documents may be out of date. Do not use as reference! |
To see what is currently happening visit http://www.perl6.org/
$^C
should be true when compiling
Maintainer: Simon Cozens <simon@brecon.co.uk> Date: 25 Sep 2000 Mailing List: perl6-language@perl.org Number: 305 Version: 1 Status: Developing
$^C
should be true when compiling, not just when the -c
flag is
set.
The idea of $^C
is that it allows programs to change their behaviour
when being compiled. However, the way it's implemented means it's only
true when the -c
flag is given on the Perl command line. At the
moment, there's no way of telling whether you're in a BEGIN
block or
not, and there ought to be.
Make $^C
true while the interpreter is compiling code, and not just
when it's going to compile and quit.
None.