Changes for version .407

  • Add full-text search methods (thx DBIx::TextIndex)
  • Much cleaner interface to ExtID - Persistent classes now assert themselves as ExtID. ExtID->assert only needs to be used directly in the case of self-referential tables.
  • Documented new features
  • List collectors revisited
  • JSON may be used as a flatfile type, see Persistence docs
  • Some methods are going away. These will warn for now:
    • $class->__useYaml depracated. Use $class->__useFlatfile instead.
    • $class->__dbiType depracated. Use $class->__useDbi instead.
    • $array->collect depracated. Use $array->each instead.
    • $array->collectWithIndex depracated. Use $array->each instead.
    • $array->eachWithIndex depracated. Use $array->each instead.
    • $array->size depracated. Use $array->count instead.
    • $string->size depracated. Use $anyScalar->length instead.
  • Some methods were added:
    • $array->eachTuple is a new collector method for 2D arrays
    • $class->count returns number of rows in the backing store
    • $class->each is a buffered collector method for IDs in backing store
    • $class->selectScalar($query) returns a number or string in a table
    • $class->stream fetches id/name pairs in a table, in a buffered manner
    • $class->tuples fetches id/name pairs in a table

Documentation

Install and use Ladybug (short version)

Modules

Data modeling framework
Array object class
Overloaded object class for booleans
Root-level "Class" class
Class and object introspection mix-in
Loads .ladybugrc values as Perl constants
Overloaded Time object class
Overloaded double-precision number object
C style enumerated types in Perl
Boolean enumeration
Database type enumeration
Database type enumeration
Defines the exceptions which may be thrown inside of Devel::Ladybug
Define inter-object relationships
Overloaded object class for floating point numbers
Hashtable object
Overloaded GUID object class
Overloaded object class for integers
A unique secondary key
Abstract storable object class
Overloaded object class for numbers
Abstract object class
Serialization mix-in
Abstract base for DBI mix-in modules
Vendor-specific overrides for MySQL/InnoDB
Vendor-specific overrides for PostgreSQL
Vendor-specific overrides for SQLite
Runtime overrides for Devel::Ladybug
Object class for regular expressions
Initialize Devel::Ladybug at runtime instead of compile time
Scalar object class
Auto incrementing integer primary key
Overloaded object class for strings
Buffered list iteration for Devel::Ladybug tables
Subtype rules for Devel::Ladybug::Type instances
Time range object class
Devel::Ladybug::Object data type assertions
System functions required globally by Devel::Ladybug

Provides

in lib/Devel/Ladybug/Array.pm
in lib/Devel/Ladybug/Array.pm
in lib/Devel/Ladybug/Exceptions.pm
in lib/Devel/Ladybug/Persistence.pm