On 14 Jul 2005 04:20:24 -0700, Randal L. Schwartz <merlyn@stonehenge.com> wrote: > Michael> Does anyone remember why it was decided our() should act this way? > > Because "our" is like "my". "my $x" ignores packages. Why shouldn't "our > $x"?
FWIW I'm with Randal there; "our" is about scoping, and its scope works exactly the same way than "my". packages and namespaces don't interfere with scoping, I don't see why they should begin to, that would make the situation more complex. Not mentioning backward compatibility issues.