| 1 | # | ||
| 2 | # This file is part of ORDB-CPAN-Mageia | ||
| 3 | # | ||
| 4 | # This software is copyright (c) 2012 by Jerome Quelin. | ||
| 5 | # | ||
| 6 | # This is free software; you can redistribute it and/or modify it under | ||
| 7 | # the same terms as the Perl 5 programming language system itself. | ||
| 8 | # | ||
| 9 | 2 | ▶ | use 5.010; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | |||
| 13 | package ORDB::CPAN::Mageia::Module; | ||
| 14 | { | ||
| 15 | 2 | $ORDB::CPAN::Mageia::Module::VERSION = '1.121690'; | |
| 16 | } | ||
| 17 | # ABSTRACT: orlite for module table in database | ||
| 18 | |||
| 19 | # -- attributes | ||
| 20 | |||
| 21 | |||
| 22 | |||
| 23 | |||
| 24 | 2 | 1; | |
| 25 | |||
| 26 | |||
| 27 | =pod | ||
| 28 | |||
| 29 | =head1 NAME | ||
| 30 | |||
| 31 | ORDB::CPAN::Mageia::Module - orlite for module table in database | ||
| 32 | |||
| 33 | =head1 VERSION | ||
| 34 | |||
| 35 | version 1.121690 | ||
| 36 | |||
| 37 | =head1 DESCRIPTION | ||
| 38 | |||
| 39 | This class models the C<module> table in the database. It can be used | ||
| 40 | either with class methods, or as objects mapping one row of the table. | ||
| 41 | |||
| 42 | =head1 ATTRIBUTES | ||
| 43 | |||
| 44 | =head2 module | ||
| 45 | |||
| 46 | The name of the module, eg C<ORDB::CPAN::Mageia>. | ||
| 47 | |||
| 48 | =head2 version | ||
| 49 | |||
| 50 | The version of the module (neither the dist, nor the package). It may be | ||
| 51 | null. | ||
| 52 | |||
| 53 | =head2 dist | ||
| 54 | |||
| 55 | This is the CPAN distribution the module is part of, eg | ||
| 56 | C<ORDB-CPAN-Mageia>. It may be null. | ||
| 57 | |||
| 58 | =head2 pkgname | ||
| 59 | |||
| 60 | This is the name of the package holding this module in Mageia Linux | ||
| 61 | distribution. Chances are that it looks like C<perl-ORDB-CPAN-Mageia>. | ||
| 62 | |||
| 63 | =for Pod::Coverage base | ||
| 64 | count | ||
| 65 | iterate | ||
| 66 | rowid | ||
| 67 | select | ||
| 68 | table(_info)? | ||
| 69 | |||
| 70 | =head1 METHODS | ||
| 71 | |||
| 72 | Refere to L<ORLite> module, section B<TABLE PACKAGE METHODS>. | ||
| 73 | |||
| 74 | =head1 AUTHOR | ||
| 75 | |||
| 76 | Jerome Quelin | ||
| 77 | |||
| 78 | =head1 COPYRIGHT AND LICENSE | ||
| 79 | |||
| 80 | This software is copyright (c) 2012 by Jerome Quelin. | ||
| 81 | |||
| 82 | This is free software; you can redistribute it and/or modify it under | ||
| 83 | the same terms as the Perl 5 programming language system itself. | ||
| 84 | |||
| 85 | =cut | ||
| 86 | |||
| 87 | |||
| 88 | __END__ | ||