Skip to main content


Generic Module to inherit from

Changes for v0.32.0 - 2023-09-05T16:11:30Z

  • Cleaned up code and improved speed substantially
  • $_ in method foreach() of Module::Generic::Array refers to the current value of the array and can be altered directly
  • Added the default option 'allow_tags' to the method new_json() in Module::Generic
  • Improved module Module::Generic::TieHash
  • Enabled use of reference as keys in Module::Generic::TieHash
  • tying recursively hash reference in Module::Generic::TieHash
  • Updated POD documentation for Module::Generic::TieHash
  • Updated method as_hash() in Module::Generic::Array
  • Updated method as_string() in Module::Generic::Exception to stringify the value of message() when it contains an overloaded value.
  • Changed private object variable to be prefixed with '_'
  • Method as_hash() in Module::Generic::Hash no longer returns a regular hash, but instead the current object, since this is already an hash
  • Corrected callback in method _set_get_scalar_as_object() in Module::Generic