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

NAME

RPM::Perlonly - a perl only implementaion of a RPM header reader.

SYNOPSIS

        use RPM::Perlonly;
        tie my %rpm, "RPM::Perlonly", "rpm-4.0-1-i586.rpm" or die "Problem, could not open rpm";
        print $rpm{'NAME'};

DESCRIPTION

Perl-RPM-Perlonly is a clone of RPM::Header written in only perl, so it provides a way to read a rpm package on systems where rpm is not installed. Perl-RPM-Perlonly can used as a drop in replacement for RPM::Header, if needed also the other way round.

The interface is a tied-hash, there are some tags provided by RPM::Perlonly but not avalible in RPM::Header, a list is provided here:

head1 AUTHOR

Copyright (c) 2001, Troels Liebe Bentsen. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms of LGPL.