Skip Menu |

This queue is for tickets about the Class-MethodMaker CPAN distribution.

Report information
The Basics
Id: 35840
Status: resolved
Priority: 0/
Queue: Class-MethodMaker

People
Owner: Nobody in particular
Requestors: smueller [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2.07
Fixed in: (no value)



Subject: " Foo" used only once: possible typo (note the space!)
Running the example script that comes with Class::MethodMaker 2.07 yields: Name " MyClass::name_reset" used only once: possible typo at /users/ik3al1/smueller/perl/lib/site_perl/5.10.0/i686-linux-thread-multi/Class/MethodMaker/Engine.pm line 781. Name " MyClass::name" used only once: possible typo at /users/ik3al1/smueller/perl/lib/site_perl/5.10.0/i686-linux-thread-multi/Class/MethodMaker/Engine.pm line 781. Name " MyClass::new" used only once: possible typo at /users/ik3al1/smueller/perl/lib/site_perl/5.10.0/i686-linux-thread-multi/Class/MethodMaker/Engine.pm line 781. Name " MyClass::name_clear" used only once: possible typo at /users/ik3al1/smueller/perl/lib/site_perl/5.10.0/i686-linux-thread-multi/Class/MethodMaker/Engine.pm line 781. Name " MyClass::name_isset" used only once: possible typo at /users/ik3al1/smueller/perl/lib/site_perl/5.10.0/i686-linux-thread-multi/Class/MethodMaker/Engine.pm line 781. false ->foo<- true *undef* true *undef* false Is this correct? The leading space suggests there's something going wrong, right? This is perl, v5.10.0 DEVEL33787 built for i686-linux-thread-multi (with 1 registered patch, see perl -V for more detail) Copyright 1987-2007, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. OKG72|smueller@iklx107:/userdata2/smueller/par> perl -V Summary of my perl5 (revision 5 version 10 subversion 0 patch 33787) configuration: Platform: osname=linux, osvers=2.6.5-7.257-smp, archname=i686-linux-thread-multi uname='linux iklx107 2.6.5-7.257-smp #1 smp mon may 15 14:14:14 utc 2006 i686 athlon i386 gnulinux ' config_args='-Dusedevel -Dprefix=/userdata2/smueller/bleadperl/install5.10.107 -Dusethreads -Dsiteprefix=/userdata2/smueller/bleadperl/install5.10.107' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='ccache cc -m32', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include' ccversion='', gccversion='3.3.3 (SuSE Linux)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='ccache cc -m32', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.3.3' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Locally applied patches: MAINT33535 Built under linux Compiled at May 6 2008 13:59:36 %ENV: PERL5LIB="/users/ik3al1/smueller/local/perl5lib:/users/ik3al1/smueller/perl/lib/perl5/site_perl/5.10.0:/users/ik3al1/smueller/perl/lib/perl5/5.10.0:/users/ik3al1/smueller/perl/lib/5.10.0:/users/ik3al1/smueller/perl/lib/site_perl/5.10.0" PERLVERSION="5.10.0" @INC: /users/ik3al1/smueller/local/perl5lib /users/ik3al1/smueller/perl/lib/perl5/site_perl/5.10.0/i686-linux-thread-multi /users/ik3al1/smueller/perl/lib/perl5/site_perl/5.10.0 /users/ik3al1/smueller/perl/lib/perl5/5.10.0/i686-linux-thread-multi /users/ik3al1/smueller/perl/lib/perl5/5.10.0 /users/ik3al1/smueller/perl/lib/5.10.0/i686-linux-thread-multi /users/ik3al1/smueller/perl/lib/5.10.0 /users/ik3al1/smueller/perl/lib/site_perl/5.10.0/i686-linux-thread-multi /users/ik3al1/smueller/perl/lib/site_perl/5.10.0 /userdata2/smueller/bleadperl/install5.10.107/lib/5.10.0/i686-linux-thread-multi /userdata2/smueller/bleadperl/install5.10.107/lib/5.10.0 /userdata2/smueller/bleadperl/install5.10.107/lib/site_perl/5.10.0/i686-linux-thread-multi /userdata2/smueller/bleadperl/install5.10.107/lib/site_perl/5.10.0 ~smueller/local/perl5lib .
Thanks (and sorry for the slow response time). It should be fixed in 2.12, on its way to cpan. Steffen -- Steffen Schwigon <ss5@renormalist.net> Dresden Perl Mongers <http://dresden-pm.org/> Deutscher Perl-Workshop <http://www.perl-workshop.de/>