Package: perl-modules Version: 5.10.0-19 Severity: minor The following script
#!/usr/bin/env perl use warnings; require Archive::Tar; $Archive::Tar::WARN = 0; gives the following warning when run: vin:~> ./tst Name "Archive::Tar::WARN" used only once: possible typo at ./tst line 4. A workaround can be to duplicate the line $Archive::Tar::WARN = 0; The warning also disappears if one uses "use" instead of "require". However this is not always wanted, e.g. in code where Archive::Tar is optional (typically the "require Archive::Tar;" would be under an "if"). -- System Information: Debian Release: squeeze/sid APT prefers oldstable APT policy: (500, 'oldstable'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26.5-20080922 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/bash Versions of packages perl-modules depends on: ii perl 5.10.0-19 Larry Wall's Practical Extraction perl-modules recommends no packages. perl-modules suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

