misc/109212: needless warnings at runtime with crypt::primes

werner fein usenet-mail at gbks.net
Fri Feb 16 00:50:07 UTC 2007


>Number:         109212
>Category:       misc
>Synopsis:       needless warnings at runtime with crypt::primes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 16 00:50:06 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     werner fein
>Release:        6.2
>Organization:
-
>Environment:
FreeBSD laptop 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Tue Jan 30 23:00:12 CET 2007     fein at laptop:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
Using Crypt::Primes with strict & warnings in perl generates warnings at runtime, because perhaps $verbose isn't set.
>How-To-Repeat:
exec following lines as a perlscript:
#!/usr/bin/perl -w

use strict;
use warnings;
use Crypt::Primes;
>Fix:
the file here http://deknos.gbks.net/misc/Primes.pm.new is a corrected version, the warnings won't occur with this instead of the old Primes.pm
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list