Garrett Goebel: # > my int ($pre, $in, $post) is constant = (0..2); # # Means that you are asking for compile time optimizations, and # agreeing not # to bless references to, or ascribe run-time properties to # those scalars. So # we've already got variables with constant values. # # I guess my question is, does the compile time optimization # for the above # case imply that you can't later do: # # $pre := $post; # # If it doesn't then I'll cease and desist... If it does, then wouldn't: # # my scalar $foo is constant = 'bar'; # # be the 'type' general way to make both a scalar variable # binding and its # value constant?
Could you do C<%MY::{'$pre'} is constant> to lock the symbol table entry? --Brent Dax [EMAIL PROTECTED] Configure pumpking for Perl 6 When I take action, I’m not going to fire a $2 million missile at a $10 empty tent and hit a camel in the butt. --Dubya