I have been using RPM::Database so long but that does not get installed on redhat 9.0 ( Gives weird make errors )


Is there an alternative module that I can use.
I need to query the existing rpm db and create a hash of all installed modules vs their version-release
like


%rpms = (
            'at' => '3.1.8-20',
            'kdelibs-devel' => '2.2-11',
            'pcre-devel' => '3.4-2',
            'perl-libwww-perl' => '5.53-3',
            'mod_ssl' => '2.8.4-9',
            ......
         );


On friend suggested that I use `rpm -qil` and parse the output. But that seems too much for me. Is there no better way


Thanks
Ram


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to