Skip Menu |

This queue is for tickets about the Color-Rgb CPAN distribution.

Report information
The Basics
Id: 690
Status: resolved
Priority: 0/
Queue: Color-Rgb

People
Owner: Nobody in particular
Requestors: mob [...] kilargo.fr
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: without option -w, get a lot of warnings
redhat 7.2 Linux 2.4.16-y0l0 #2 Fri Dec 7 11:38:58 CET 2001 i686 Color::Rgb 1.1 perl 5.6.0 The following script (with -w flags) produce many warnings: ============= #!/usr/bin/perl -w use strict; use Color::Rgb; my $rgb = new Color::Rgb(rgb_txt=>'/usr/X11R6/lib/X11/rgb.txt'); my @Namedcolors = $rgb->names; print @Namedcolors; foreach (@Namedcolors){ print $rgb->hex($_); print "\n"; } =============== ex: Use of uninitialized value in regexp compilation at /usr/lib/perl5/site_perl/5.6.0/Color/Rgb.pm line 97. or Use of uninitialized value in concatenation (.) at /usr/lib/perl5/site_perl/5.6.0/Color/Rgb.pm line 60. Marc-Olivier BERNARD
Hi. Thanks for the report. The problems mentioned are all fixed in Color::Rgb 1.2. I just uploaded it to CPAN, if it's still not avilable in your CPAN mirror you can get it from http://modules.ultracgis.com/dist/Color-Rgb-1.2.tar.gz [guest - Thu May 30 11:20:26 2002]: Show quoted text
> redhat 7.2 > Linux 2.4.16-y0l0 #2 Fri Dec 7 11:38:58 CET 2001 i686 > Color::Rgb 1.1 > perl 5.6.0 > > The following script (with -w flags) produce many warnings: > > ============= > > #!/usr/bin/perl -w > > use strict; > > use Color::Rgb; > > my $rgb = new Color::Rgb(rgb_txt=>'/usr/X11R6/lib/X11/rgb.txt'); > > my @Namedcolors = $rgb->names; > > print @Namedcolors; > > foreach (@Namedcolors){ > > print $rgb->hex($_); > print "\n"; > } > > =============== > > ex: > > Use of uninitialized value in regexp compilation at > /usr/lib/perl5/site_perl/5.6.0/Color/Rgb.pm line 97. > > or > > > Use of uninitialized value in concatenation (.) at > /usr/lib/perl5/site_perl/5.6.0/Color/Rgb.pm line 60. > > Marc-Olivier BERNARD
-- -- sherzodR