Kent Fredric > Gentoo-Perl-Distmap-0.1.3 > Gentoo::Perl::Distmap::RecordSet

Download:
Gentoo-Perl-Distmap-0.1.3.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: v0.1.3   Source   Latest Release: Gentoo-Perl-Distmap-0.2.0

NAME ^

Gentoo::Perl::Distmap::RecordSet - A collection of Record objects representing versions in >1 repos.

VERSION ^

version 0.1.3

ATTRIBUTES ^

records

METHODS ^

has_versions

        if( $instance->has_versions() ) {

        }

is_multi_repository

        if ( $instance->is_multi_repository() ){

        }

in_repository

        if ( my @records = $instance->in_repository('gentoo') ) {
                /* records from gentoo only */
        }

add_version

        $instance->add_version(
                category => 'gentoo-category',
                package  => 'gentoo-package',
                version  => 'gentoo-version',
                repository => 'gentoo-repository',
        );

to_rec

        my $datastructure = $instance->to_rec

CLASS METHODS ^

from_rec

        my $instance = G:P:D:RecordSet->from_rec( $datastructure );

ATTRIBUTE METHODS ^

records -> records

AUTHOR ^

Kent Fredric <kentfredric@gmail.com>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2012 by Kent Fredric <kentfredric@gmail.com>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: