Jens Rehsack > Alien-Packages-0.000_001 > Alien::Packages::Base

Download:
Alien-Packages-0.000_001.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.001   Source   Latest Release: Alien-Packages-0.003

NAME ^

Alien::Packages::Base - base class for package backends

SUBROUTINES/METHODS ^

new

Instantiates new object, no attributes evaluated.

pkgtype

Returns the pkgtype

list_packages

Returns a list of hashes containing installed packages. Each item must contain:

  { Package => $pkg_name, Version => $version, Summary => $summary ]

list_fileowners

Returns a hash of lists containing the packages which are registered file owners for the specified files. Each list must contain at least one item:

  '/absolute/path/to/file' =>
      [
          {
              Package => $pkg_name,
          }
      ],
  ...

AUTHOR ^

Jens Rehsack, <rehsack at cpan.org>

LICENSE AND COPYRIGHT ^

Copyright 2010 Jens Rehsack.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

syntax highlighting: