Skip Menu |

This queue is for tickets about the RPM-Info CPAN distribution.

Report information
The Basics
Id: 4576
Status: new
Priority: 0/
Queue: RPM-Info

People
Owner: Nobody in particular
Requestors: dsears [...] intelerad.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.04
Fixed in: (no value)



Subject: Small bug
I found a small bug that's easy to fix. Line 256 looks for "Install Date" instead of "Install date". As a result RPM::Info is unable to report the install date or build host. I'd appreciate letting me know once it's fixed. Cheers, Dave
Hi, the module searched allready for "Install date"... anyway i've uploaded a new version. greetings, mahnkong [guest - Thu Dec 4 15:56:42 2003]: Show quoted text
> I found a small bug that's easy to fix. Line 256 looks for > "Install Date" instead of "Install date". > > As a result RPM::Info is unable to report the install date or build host. > > I'd appreciate letting me know once it's fixed. > > Cheers, > > Dave
Subject: Small bug - still there
From: dsears [...] intelerad.com
The problem is still there. The issue is that RPM::Info.pm searches for "Install date" instead of "Install Date" (not the difference in capitalization of the workd "date"). A better solution would be to make all pattern matching case insensitive. ex: if ($line =~ /(Install date+).*: ([(\/\w].*.[\w\/)]) .*. (Build Host+).*: ([(\/\w].*.[\w\/)])/i) Dave [MAHNKONG - Wed Dec 10 06:15:23 2003]: Show quoted text
> Hi, > > the module searched allready for "Install date"... > anyway i've uploaded a new version. > > > greetings, > mahnkong > > > [guest - Thu Dec 4 15:56:42 2003]: >
> > I found a small bug that's easy to fix. Line 256 looks for > > "Install Date" instead of "Install date". > > > > As a result RPM::Info is unable to report the install date or build
host. Show quoted text
> > > > I'd appreciate letting me know once it's fixed. > > > > Cheers, > > > > Dave
>