Category Archives: Packages

Multiple package VERSION declarations

I’m re-reading the parts of Intermediate Perl where we introduce packages. Perl v5.12 introduced an expanded package syntax to include a version and a block: package Foo { … } package Foo 1.23; package Foo 1.23 { … } That almost seems to imply that you’d have to completely define the package inside the block […]