Hi all,

I am getting reports of a strage error message when trying to build a M::B 
0.26 based distro (Mail::SPF, currently 2.000_003) on certain systems that 
have a _higher_ version of M::B:

  http://cpantesters.perl.org/show/Mail-SPF.html

For example, on a system with M::B 0.280500, it says:

| Global symbol "$VAR1" requires explicit package name at (eval 24) line
| 1075, <GEN6> line 1.
|        ...propagated at
| /usr/local/standard-perl/lib/perl5/site_perl/5.8.8/Module/Build/Base.pm
| line 1002, <GEN6> line 1.

The 'Global symbol "$VAR1" requires explicit package name' message is the 
recurring pattern.

As the maintainer of the libmodule-build-perl Debian package seems to be 
sleeping, Debian still has only 0.26, so I haven't been able to reproduce 
the issue myself.

A user of my package found out that the problem could be avoided by 
changing _build/build_params to say '$main::VAR1' instead of '$VAR1'.  
Again, I couldn't reproduce it myself.

Might this be a bug with M::B 0.26 based packages when they are built with 
some higher version of M::B?

Julian.

Attachment: pgpsM2Rh4lEeH.pgp
Description: PGP signature

Reply via email to