Changes for version 0.04 - 2014-02-22

  • This is a major release
  • Add support for a buildargs callback. This can be used to add support for export tags, or to map the parameters to import() in any other way you can think of.
  • A new private_name_munger option is now available both globally and locally per-constant. This can be used to obscure the internal names of generated constants, to avoid hard to track down errors related to using lazy constants someone else might define for you (and then suddenly stop doing so).
  • When using the wrap_existing_import option the $ctx->call() method wouldn't work with some constant.pm-generated subroutines. This has now been exhaustively fixed.
  • After a lot of playing around with test coverage the test coverage of this module is now 100%. A few minor bugs were fixed in the process of achieving this.
  • Some minor documentation improvements, mainly rewording existing sentences.

Modules

Utility to write lazy exporters of constant subroutines

Provides

in lib/Constant/Export/Lazy.pm