package foo; { print __PACKAGE__; # prints "foo" } print __PACKAGE__; # also prints "foo"