in reply to RE: i thought i knew 'our'...
in thread i thought i knew 'our'...

are you saying that 'our' lexically scopes the name, but globally scopes the value?

Replies are listed 'Best First'.
RE: RE: RE: i thought i knew 'our'...
by autark (Friar) on Jul 24, 2000 at 21:03 UTC
    Something like that, yes. Because the variables are put into the symbol table, they are global. In fact, 'our' has no semantical effect unless you use strict vars, so:
    our $foo = 1;
    and
    $foo = 1;
    shouldn't be different at all. It is first when you introduce use strict vars that the our keyword will have a different semantical effect.

    Autark.