jonasbn > Business-DK-CVR > Class::Business::DK::CVR

Download:
Business-DK-CVR-0.06.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.01   Source  

NAME ^

Class::Business::DK::CVR - Danish CVR number class

VERSION ^

The documentation describes version 0.01 of Class::Business::DK::CVR

SYNOPSIS ^

    use Class::Business::DK::CVR;

    my $cvr = Class::Business::DK::CVR->new(27355021);
    
    my $cvr_no = $cvr->get_number();
    
    my $cvr_no = $cvr->number();

    $cvr->set_number(27355021);

DESCRIPTION ^

This is an OOP implementation for handling Danish CVR numbers. The class gives you an CVR object, which is validated according to the CVR rules, see: Business::DK::CVR.

SUBROUTINES AND METHODS ^

new

This is the constructor, it takes a single mandatory parameter, which should be a valid CVR number, if the parameter provided is not valid, the constructor dies.

get_number

This method/accessor returns the CVR number associated with the object.

number

Alias for the "get_number" accessor, see above.

set_number

This method/mutator sets the a CVR number for a given CVR object, it takes a single mandatory parameter, which should be a valid CVR number, returns true (1) upon success else it dies.

DIAGNOSTICS ^

CONFIGURATION AND ENVIRONMENT ^

The module requires no special configuration or environment to run.

DEPENDENCIES ^

INCOMPATIBILITIES ^

The module has no known incompatibilities.

BUGS AND LIMITATIONS ^

The module has no known bugs or limitations

TEST AND QUALITY ^

Coverage of the test suite is at 98.3%

TODO ^

SEE ALSO ^

BUG REPORTING ^

Please report issues via CPAN RT:

  http://rt.cpan.org/NoAuth/Bugs.html?Dist=Business-DK-CVR

or by sending mail to

  bug-Business-DK-CVR@rt.cpan.org

AUTHOR ^

Jonas B. Nielsen, (jonasbn) - <jonasbn@cpan.org>

COPYRIGHT ^

Business-DK-CVR and related is (C) by Jonas B. Nielsen, (jonasbn) 2006-2009

LICENSE ^

Business-DK-CVR and related is released under the artistic license

The distribution is licensed under the Artistic License, as specified by the Artistic file in the standard perl distribution (http://www.perl.com/language/misc/Artistic.html).

syntax highlighting: