The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Person::CNPclass is a class for storing data about a Person.

SYNOPSIS

  #!/usr/bin/perl

        # Pragmas----------
        use warnings;
        use strict;
        # Utilizarea clasei CNPclass1 din Fila: CNPclass1.pm
        use lib '/home/mhcrnl/MyPerlCode/Person-CNPclass/lib/Person';
        use CNPclass;

        my $myCNP = new Person::CNPclass("Mihai", "Cornel", "1750878909876", "0722196164");
        
        print $myCNP->getNume()."\n";   
        print $myCNP->getPrenume()."\n";
        print $myCNP->getCNP()."\n";

        $myCNP->setNume("Irina");
        $myCNP->afiseazaVersion();

        print $myCNP->getNume()."\t"."\n";
        print "Nume/Prenume: ".$myCNP->getNume()." ".$myCNP->getPrenume()."\n";
        print "Numar de Telefon: ".$myCNP->getNrTel();
  
  

More examples in folder t

DESCRIPTION

Stub documentation for Person::CNPclass, created by h2xs. This module is a class and is use as it is. =head2 METHODS =head3 getNume() =head3 setNume($Str) =head3 getPrenume() =head3 setPrenume($Str) =head3 getCNP() =head3 setCNP($Str) =head3 getNrTel() =head3 setNrTel($Str) =head1 ATENTION!!! Insert email with escape character: mhcrnl\@gmail.com getEmail() setEmail =head2 EXPORT

None by default.

SEE ALSO

Mention other useful documentation such as the documentation of related modules or operating system documentation (such as man pages in UNIX), or any relevant external documentation such as RFCs or standards.

If you have a mailing list set up for your module, mention it here.

If you have a web site set up for your module, mention it here.

AUTHOR

mhcrnl, <mhcrnl@>

COPYRIGHT AND LICENSE

Copyright (C) 2015 by mhcrnl

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.18.2 or, at your option, any later version of Perl 5 you may have available.