The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

OPM::Repository::Source - Parser for a single {otrs|otobo}.xml file

VERSION

version 1.0.0

SYNOPSIS

use OPM::Repository::Source;

my $source = OPM::Repository::Source->new(
    url => 'http://opar.perl-services.de/otrs.xml',
);

my @packages_in_source = $source->list;

# check if TicketTemplates is avaialable at the
# given repository/source
my $found = $source->find(
    name      => 'TicketTemplates',
    framework => '3.0',
);

ATTRIBUTES

  • content

    The content of the sources' {otrs,otobo}.xml file.

  • error

    If an error occurs, the message is in error.

  • has_parsed

  • packages

    A hash reference that contains information about all packages that are available in the repository/source.

  • parsed

  • product

    otrs|otobo

  • tree

  • url

    URL of the {otrs,otobo}.xml file that represents the repository.

METHODS

find

list

AUTHOR

Renee Baecker <reneeb@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2017 by Renee Baecker.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)