On Mon, Aug 13, 2007 at 06:09:31PM +0100, [EMAIL PROTECTED] wrote:

> t/compile....
> #   Failed test 'script compiles'
> #   at t/compile.t line 11.
> #                   'Perl lib version (v5.6.2) doesn't match executable 
> version (v5.8.8) at 
> /home/david/cpantesting/perl-5.6.2/lib/5.6.2/i686-linux/Config.pm line 21.

change this:
  my $output = `perl -c $file 2>&1`;

to this:
  my $output = `$^X -c $file 2>&1`;

as otherwise you are assuming that the user is installing your module
for use with whichever perl comes first in the path.

[looks closer]

oh, it's a script.  Probably a safe assumption to make then, I suppose.
Even so, that's the reason for the failure report.

-- 
David Cantrell | A machine for turning tea into grumpiness

      Googling for "Swedish lizard overlord" gives
      this sig as the first result.
      
      WHAT DOES THAT TELL YOU, EH? EH?

Reply via email to