[Bug 461285] New: Any use of Class::MethodMaker spews pages of warnings to console

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Summary: Any use of Class::MethodMaker spews pages of warnings to console

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

           Summary: Any use of Class::MethodMaker spews pages of warnings
                    to console
           Product: Fedora
           Version: 9
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: medium
          Priority: medium
         Component: perl-Class-MethodMaker
        AssignedTo: dgregor@xxxxxxxxxx
        ReportedBy: berrange@xxxxxxxxxx
         QAContact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: fedora-perl-devel-list@xxxxxxxxxx
   Estimated Hours: 0.0
    Classification: Fedora


Description of problem:
Since the upgrade to perl 5.10, any application which uses Class::MethodMaker
spews pages of warnings to stderr. This makes such apps essentially unusable if
they're console based

See this demo:

# cat > cmm.pl <<EOF
package Foo;

use Class::MethodMaker
    new_with_init => "new",
    get_set => [qw(bar)];

sub init {
    my $self = shift;

    $self->bar("hello");
}

package main;

my $foo = Foo->new;

print $foo->bar, "\n";

$foo->bar("world");

print $foo->bar, "\n";
EOF



Version-Release number of selected component (if applicable):
perl-5.10.0-31.fc9.i386
perl-Class-MethodMaker-2.11-1.fc9.i386


How reproducible:
Always

Steps to Reproduce:
1. perl cmm.pl
2.
3.

Actual results:
Name " Foo::bar" used only once: possible typo at
/usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi/Class/MethodMaker/Engine.pm
line 781.
Name " Foo::get_bar" used only once: possible typo at
/usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi/Class/MethodMaker/Engine.pm
line 781.
Name " Foo::new" used only once: possible typo at
/usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi/Class/MethodMaker/Engine.pm
line 781.
Name " Foo::bar_reset" used only once: possible typo at
/usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi/Class/MethodMaker/Engine.pm
line 781.
Name " Foo::bar_isset" used only once: possible typo at
/usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi/Class/MethodMaker/Engine.pm
line 781.
Name " Foo::set_bar" used only once: possible typo at
/usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi/Class/MethodMaker/Engine.pm
line 781.
Name " Foo::clear_bar" used only once: possible typo at
/usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi/Class/MethodMaker/Engine.pm
line 781.
hello
world

Expected results:
hello
world

Additional info:

-- 
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.

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
Fedora-perl-devel-list mailing list
Fedora-perl-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux