The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 0.10 - 2014-11-05

  • The symbol exporter we were using was too eager and would export the entire *GLOB of a given constant we were exporting. So as an unintended side-effect exporting the constant CONST would also defined $FOO, @FOO, %FOO etc. in that package. Now instead we'll only export &FOO.
    • Upgrading to this release could cause compile-time errors in existing code that implicitly relies on Constant::Export::Lazy to define these package-level symbols, but those cases should reveal genuine bugs. Code that doesn't rely on that side-effect should work as before.

Modules

Utility to write lazy exporters of constant subroutines

Provides

in lib/Constant/Export/Lazy.pm