[Bug 385751] New: Newt::Form::DESTROY prints deprecated code warning.

bugzilla at redhat.com bugzilla at redhat.com
Thu Nov 15 21:43:29 UTC 2007


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.




https://bugzilla.redhat.com/show_bug.cgi?id=385751

           Summary: Newt::Form::DESTROY prints deprecated code warning.
           Product: Fedora
           Version: fc6
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: low
          Priority: low
         Component: perl-Newt
        AssignedTo: jorton at redhat.com
        ReportedBy: charlieb-redhat-bugzilla at e-smith.com
         QAContact: extras-qa at fedoraproject.org
                CC: fedora-perl-devel-list at redhat.com


Description of problem:

examples/install prints warnings during exit - same is probably true of
program using Newt::Form::xxx.

 Use of inherited AUTOLOAD for non-method Newt::Form::DESTROY() is deprecated
        during global destruction (#1)
 Use of inherited AUTOLOAD for non-method Newt::Form::DESTROY() is deprecated 
during global destruction.

Version-Release number of selected component (if applicable):

bash-3.00$ rpm -q perl-Newt
perl-Newt-1.08-17
bash-3.00$


How reproducible:

Every time.

Steps to Reproduce:

Run "perl expample/install".
  
Additional info:

Adding this to Newt.pm makes the warnings go away:

*Newt::Form::AUTOLOAD = \&Newt::AUTOLOAD;

That's the recommended workaround from 'man perldiag'.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the Fedora-perl-devel-list mailing list