>Any specific reason why this 
>1) gives a warning

add_constant() returns void, but hilfe doesn't know about that, and
assigns the (nonexistant) returned value to something.

>and 
>2) doesn't give the expected output?

resolv() does not perform any lookup in all_constants(). It performs
lookups in _static_modules and the module path.
  • resolv Mirar @ Pike developers forum
    • resolv Martin Nilsson (Opera Mini - AFK!) @ Pike (-) developers forum
    • resolv Henrik Grubbstr�m (Lysator) @ Pike (-) developers forum
      • re... Mirar @ Pike developers forum
    • resolv Mirar @ Pike developers forum

Reply via email to