NAME

Pangloss::Languages - a collection of Pangloss languages.

SYNOPSIS

  use Pangloss::Languages;
  my $languages = new Pangloss::Languages();

  try {
      my $language = $languages->get( $iso_code );
      $languages->add( $language );
      $languages->remove( $language );
      do { ... } foreach ( $languages->list );
  } catch Pangloss::Language::Error with {
      my $e = shift;
      ...
  }

DESCRIPTION

This class contains a collection of Pangloss::Language objects. It inherits its interface from Pangloss::Collection.

The collection is keyed on $language->iso_code().

METHODS

@iso_codes = $obj->iso_codes

synonym for $obj->keys()

AUTHOR

Steve Purkis <spurkis@quiup.com>

SEE ALSO

Pangloss, Pangloss::Collection, Pangloss::Language, Pangloss::Language::Error