Simon Cozens wrote:
> Or indeed "if". Colour me stupid, but I fail to see what
>
> {
> use namespace 'Foo::Bar';
> $x = 10;
> }
>
> buys you over
>
> {
> package Foo::Bar;
> $x = 10;
> }
Because in the first case $x is in the current package, in the second it
i
Alan Burlison (lists.p5p):
>it strikes me that in the
>end this is really a judgement call as to how it should work
Or indeed "if". Colour me stupid, but I fail to see what
{
use namespace 'Foo::Bar';
$x = 10;
}
buys you over
{
package Foo::Bar;
$x = 10;
}