Interestingly...
use Test::More tests => 1; # this test fails is( do { package Foo::Bar::; __PACKAGE__ }, do { package Foo::Bar; __PACKAGE__ }, );
So there's at least one place the barewords Foo::Bar:: and Foo::Bar evaluate to different packages.
See also, Perl allows package names consisting entirely of colons.
In reply to Re: Bareword Package Names
by tobyink
in thread Bareword Package Names
by martin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |