Paul B. Henson > DCE-Perl-0.21 > DCE::Status

Download:
DCE-Perl-0.21.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Module Version: 1.00   Source  

NAME ^

DCE::Status - Make sense of DCE status codes

SYNOPSIS ^

    use DCE::Status;
    
    $errstr = error_inq_text($status);

    tie $status => DCE::Status;

DESCRIPTION ^

When a $scalar is tie'd to the DCE::Status class, it has a different value depending on the context it is evaluated in, similar to the magic $! variable. When evaluated in a numeric context, the numeric value is returns, otherwise, the string value obtained from dce_error_inq_text is returned.

EXPORTS ^

error_inq_text

Equivalent to the dce_error_inq_text function.

 $errstr = error_inq_text($status);

AUTHOR ^

Doug MacEachern <dougm@osf.org>

SEE ALSO ^

perl(1), DCE::Registry(3), DCE::Login(3), DCE::ACL(3).

syntax highlighting: