Red Hat Bugzilla – Bug 461066
Lots of warnings when used with strict and -w
Last modified: 2008-10-15 22:04:57 EDT
Created attachment 315699 [details]
Description of problem:
Running the example code from the Qwizard man page causes numerous warnings of operations with undefined variables.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. man perl::QWizard | col -b > testit.pl
2. Remove everything but the example at the top
3. Put "#!/usr/bin/perl -w\nuse strict;" at the top
4. Run it
2 pages of warnings, but it works
No warnings, and it works
I've patched all but one error, but haven't done extensive testing.
Created attachment 315700 [details]
This adds checks for undefined values, but I don't have in-depth knowledge of this code, so it could be causing other problems.
The final error occurs when you quit:
(in cleanup) FATAL PROBLEM: Your widget generator "QWizard::Generator::Gtk2" doesn't support the "DESTROY" function at /usr/lib/perl5/vendor_perl/5.8.8/QWizard/Generator.pm line 562 during global destruction.
perl-QWizard-3.15-1.fc8 has been submitted as an update for Fedora 8.
perl-QWizard-3.15-1.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update perl-QWizard'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-8196
perl-QWizard-3.15-1.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.