http://www.perlmonks.org?node_id=1038507


in reply to OO Perl Baby Steps

package somename {
is a recent addition (introduced in 5.14) and is equivalent to
{ package somename;

Moreover,

package somename; {
is different if there is some code after the closing } - it still belongs to the package.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ