AmberDB
view release on metacpan or search on metacpan
lib/AmberDB/Base.pm view on Meta::CPAN
our $VERSION = '5.26.6';
my $CREATED = '2014-12-20';
# ------------------------------------------------
sub new {
my $class = shift;
my %args = ( ref $_[0] eq 'HASH' ) ? %{ $_[0] } : @_;
# Initialise the Language engine with the supplied language tag.
# SUPER::new is AmberDB::Locale::new â it handles locale loading.
my $self = $class->SUPER::new(%args);
return $self;
}
# ============================================================================
# STRING UTILITIES (Trim & Whitespace Normalization)
# ============================================================================
# $adb->trim_space($string, [$flatten])
# Strips leading/trailing whitespace and normalizes internal spaces/newlines.
# ---------------------------------------------------------------------
( run in 0.930 second using v1.01-cache-2.11-cpan-4e491c91c6e )