![]() |
![]()
| ![]() |
![]()
NAMEDeclare::Constraints::Simple::Library::Exportable - Export Facilities DESCRIPTIONThis contains the constraint export logic of the module. METHODSimport($flag, @args)use ExportableModule->All; # or use ExportableModule-Only => qw(Constraint1 ...); # or use ExportableModule-Library; Exports the constraints to the calling namespace. This includes all libraries in Declare::Constraints::Simple::Library, that package itself (providing all default constraints) or Declare::Constraints::Simple itself as a shortcut. Possible flags are
_build_handle_map()Internal method to build constraint-to-class mappings. _export_all($target, $handle_map)Internal method. Exports all handles in $handle_map into the $target namespace. _export_these($target, $handle_map, @constraints)Internal method. Exports all @constraints from $handle_map into the $target namespace. SEE ALSODeclare::Constraints::Simple, Declare::Constraints::Simple::Library, Declare::Constraints::Simple::Library::Base AUTHORRobert 'phaylon' Sedlacek "<phaylon@dunkelheit.at>" LICENSE AND COPYRIGHTThis module is free software, you can redistribute it and/or modify it under the same terms as perl itself.
|