Revision history for Perl module Module::Generic
0.12.16 2020-06-17T15:03:17+0900
- Added the helper method _is_a to simplify the check for object class
- Added method get() and list() in Module::Generic::Array
- Added method tr in Module::Generic::Scalar
- Corrected error in exiting a for/foreach loop in Module::Generic::Array
- Switched clone() method to using XS module Clone::clone()
- Added methods new_array, new_hash, new_number and new_scalar in Module::Generic to make it more convenient to create object from those classes
- Added some missing documentation to Module::Generic::Scalar
0.12.15 2020-06-16T12:22:19+0900
- Fixed some test units
0.12.14 2020-05-28T05:46:04+0900
- Tweaked Module::Generic::Number::_set_get_prop in my last desperate attempt to correct this tedious bug. Should fix RT #132714
0.12.13 2020-05-27T13:58:324+0900
- Corrected (hopefully) an issue whereby some undefined hash keys would not be undefined affecting test unit
0.12.12 2020-05-25T13:55:00+09:00
- Corrected issues with Number::Format whereby it would revert to some default, so made all of the Number::Format argument explicit, even setting them to '' to avoid Number::Format from using its inadequate default
- Implemented a workaround to Number::Format on Windows whereby some of the POSIX::localconv values are -1. When there is no value, such as when the locale is C or when it is on Windows (value being -1), then numeric values default to 0
- Improved test units for when running on Windows Strawberry
0.12.11 2020-05-25T14:56:154+0900
0.12.10 2020-05-24T13:00:034+0900
- Corrected bug in test unit for Module::Generic::Number. Fix bug RT #132671
- Updated Module::Generic::Scalar to return undef when creating an object with an undefined value. Fix bug RT #132681 (https://rt.cpan.org/Ticket/Display.html?id=132681)
0.12.9 2020-05-23T15:00:574+0900
- Corrected bug in test unit for Module::Generic::Number
0.12.8 2020-05-22T16:15:004+0900
- Change POSIX requirement to version 1.53_01 and perl minimum version to v5.26.1
0.12.7 2020-05-22T16:15:004+0900
- Corrected RT bug #132664 https://rt.cpan.org/Public/Bug/Display.html?id=132664 in Module::Number::init
0.12.6 2020-05-21T14:52:004+0900
- Corrected a small bug in creating a Number::Format object.
0.12.5 2020-05-20T23:22:004+0900
- Change from TryCatch to Nice::Try because TryCatch got broken with release of Devel::Declare version 0.006020
0.12.4 2020-05-16T17:22:004+0900
- Specified more clearly version 0.006019 for Devel::Declare, because upper version break TryCatch
0.12.3 2020-05-16
- Corrected minor issues at line at lines 5428 and 5430 where a typo existed
0.12.2 2020-05-05
- Added Module::Generic::Number, its test units and pod documentations
- _set_get_number now sets and gets a Module::Generic::Number instead of Text::Number
- Added Module::Generic::Hash providing an object oriented approach to hash while stil enabling direct access as usual
- Added missing test units
0.12.1 2020-05-03
- Corrected issue when @_ contains an undef value in __instantiate_object
0.12.0 2020-05-01
- Added colour_closest, colour_format, colour_parse and message_colour
- Added missing pod documentation
0.11.9 2020-04-27
- Removed some ambiguity in the use of shift
0.11.8 2020-04-25
- Changed init when an object preset value looks like a package name, this now also requires that the package be loaded to consider it as a package requirement. Example: $self->{url} = 'URI'; requires an object URI for the object property 'url'
- error() method now respect the 'no warnings' pragma
- If 'no warnings' is set, an error wil still be set, but no warning will be printed out on STDERR
0.11.7 2020-03-30
0.11.6 2020-03-27
0.11.5 2020-03-27
0.11.4 2020-03-27
0.11.3 2020-03-26
0.11.2 2020-03-06
0.11.1 2020-02-04
0.11.0 2020-02-04
0.10.2 2020-01-11
0.10.1 2020-01-10
0.10.0 2020-01-07
0.9.0 2020-01-04
0.8.0 2020-01-01
0.7.2 2019-12-28
0.7.1 2019-12-27
0.7.0 2019-12-25
0.6.11 2019-12-13
0.6.10 2019-11-28
0.6.9 2019-11-27
0.6.8 2019-11-14
0.6.7 2019-11-08
0.6.6 2019-11-03
- Adjusted the functionning of _set_get_hash_as_object so that it always returns an object even when there was no data. This is to avoid the perl error of "Can't call method "this_property" on an undefined value" when doing something like my_dynamic_hash->this_property
0.6.5 2019-11-02
- Added an inline package Module::Generic::Boolean to handle boolean value and the _set_get_boolean method
- Added the use of Class::Load for loading dynamically packages as used in _instantiate_object
- Added the methods true, false under Module::Generic to be used in _set_get_boolean and _is_class_loaded and _load_class which are wrappers for Class::Load::is_class_loaded and Class::Load::load_class
0.6.4 2019-10-31
- Added handling of undef passed as a parameter to some of the _set_get_* methods
0.6.3 2019-10-23
- Add _set_get_hash_as_object with recursive processing
0.6.1 2019-10-19
0.5.5 2919-10-13
0.2.0 2019-08-28
- Switched from Class::Struct to inner package for management of exceptions for better granularity
0.1.0 2019-08-26
- Initial version from pre-existing work done