NAME
    CAD::AutoCAD::Version - Class which work with AutoCAD versions.

SYNOPSIS
     use CAD::AutoCAD::Version;

     my $obj = CAD::AutoCAD::Version->new;
     my @acad_identifiers = $obj->list_of_acad_identifiers;
     my @acad_identifiers_real = $obj->list_of_acad_identifiers_real;

METHODS
  "new"
     my $obj = CAD::AutoCAD::Version->new;

    Constructor.

  "list_of_acad_identifiers"
     my @acad_identifiers = $obj->list_of_acad_identifiers;

    List AutoCAD identifiers used as DWG file magic string or $ACADVER in
    DXF file.

    Returns array of identifiers.

  "list_of_acad_identifiers_real"
     my @acad_identifiers_real = $obj->list_of_acad_identifiers_real;

    List AutoCAD identifiers used as DWG file magic string or $ACADVER in
    DXF file. Ordered by date of AutoCAD releases.

    Returns array of identifiers.

ERRORS
     new():
             From Class::Utils:
                     Unknown parameter '%s'.

EXAMPLE1
     use strict;
     use warnings;

     use Data::Printer;
     use CAD::AutoCAD::Version;

     # Object.
     my $obj = CAD::AutoCAD::Version->new;

     # Create image.
     my @acad_identifiers = sort $obj->list_of_acad_identifiers;

     # Print out type.
     p @acad_identifiers;

     # Output:
     # [
     #     [0]  "AC1.2",
     #     [1]  "AC1.40",
     #     [2]  "AC1.50",
     #     [3]  "AC1001",
     #     [4]  "AC1002",
     #     [5]  "AC1003",
     #     [6]  "AC1004",
     #     [7]  "AC1006",
     #     [8]  "AC1009",
     #     [9]  "AC1012",
     #     [10] "AC1014",
     #     [11] "AC1015",
     #     [12] "AC1018",
     #     [13] "AC1021",
     #     [14] "AC1024",
     #     [15] "AC1027",
     #     [16] "AC1032",
     #     [17] "AC2.10",
     #     [18] "AC2.21",
     #     [19] "AC2.22",
     #     [20] "MC0.0"
     # ]

EXAMPLE2
     use strict;
     use warnings;

     use Data::Printer;
     use CAD::AutoCAD::Version;

     # Object.
     my $obj = CAD::AutoCAD::Version->new;

     # Create image.
     my @acad_identifiers_real = $obj->list_of_acad_identifiers_real;

     # Print out type.
     p @acad_identifiers_real;

     # Output:
     # [
     #     [0]  "MC0.0"
     #     [1]  "AC1.2",
     #     [2]  "AC1.40",
     #     [3]  "AC1.50",
     #     [4]  "AC2.10",
     #     [5]  "AC2.21",
     #     [6]  "AC2.22",
     #     [7]  "AC1001",
     #     [8]  "AC1002",
     #     [9]  "AC1003",
     #     [10] "AC1004",
     #     [11] "AC1006",
     #     [12] "AC1009",
     #     [13] "AC1012",
     #     [14] "AC1014",
     #     [15] "AC1015",
     #     [16] "AC1018",
     #     [17] "AC1021",
     #     [18] "AC1024",
     #     [19] "AC1027",
     #     [20] "AC1032",
     # ]

DEPENDENCIES
    Class::Utils, Readonly.

REPOSITORY
    <https://github.com/michal-josef-spacek/CAD-AutoCAD-Version>

AUTHOR
    Michal Josef Špaček <mailto:skim@cpan.org>

    <http://skim.cz>

LICENSE AND COPYRIGHT
    © 2020 Michal Josef Špaček

    BSD 2-Clause License

VERSION
    0.02

