NAME

Locale::TextDomain::OO::TiedInterface - Call object methods as tied hash

$Id: TiedInterface.pm 252 2009-12-29 13:55:33Z steffenw $

$HeadURL: https://perl-gettext-oo.svn.sourceforge.net/svnroot/perl-gettext-oo/trunk/lib/Locale/TextDomain/OO/TiedInterface.pm $

VERSION

0.03

DESCRIPTION

This module wraps the object into a tied hash and allows to call a method as fetch hash.

SYNOPSIS

import all

use Locale::TextDomain::OO::TiedInterface;

or inport only the given variables, as example all

use Locale::TextDomain::OO::TiedInterface qw(
    $loc
    %__
    %__
    %__x
    %__n
    %__nx
    %__p
    %__px
    %__np
    %__npx
    %N__
    %N__x
    %N__n
    %N__nx
    %N__p
    %N__px
    %N__np
    %N__npx
    %maketext
    %maketext_p
    $__
    $__
    $__x
    $__n
    $__nx
    $__p
    $__px
    $__np
    $__npx
    $N__
    $N__x
    $N__n
    $N__nx
    $N__p
    $N__px
    $N__np
    $N__npx
    $maketext
    $maketext_p
);

SUBROUTINES/METHODS

none

EXAMPLE

Inside of this distribution is a directory named example. Run this *.pl files.

DIAGNOSTICS

Can not import an undef as variable name.

An undefined value is not a variable name

Cann not import an unknown variable.

"..." is not a hash or a hash reference

Can not import a variable that has not a name like a translating methods.

Method "..." is not a translation method

CONFIGURATION AND ENVIRONMENT

none

DEPENDENCIES

version

Carp

Tie::Sub

INCOMPATIBILITIES

not known

BUGS AND LIMITATIONS

none

SEE ALSO

Locale::TextDoamin::OO

Locale::TextDomain::OO::Maketext

AUTHOR

Steffen Winkler

LICENSE AND COPYRIGHT

Copyright (c) 2009, Steffen Winkler <steffenw at cpan.org>. All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.