in reply to OO Perl Baby Steps
is a recent addition (introduced in 5.14) and is equivalent topackage somename {
{ package somename;
Moreover,
is different if there is some code after the closing } - it still belongs to the package.package somename; {
|
|---|