Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

stvn_skuo (5628)

Journal of stvn_skuo (5628)

Friday January 28, 2005
02:02 AM


[ #22921 ]

[sunnydale:~] skuo% prove -Iblib2/lib t/*.t

t/00load.....Perl lib version (v5.8.6) doesn't match executable version (v5.8.0) at /usr/local/lib/perl5/5.8.6/darwin/ line 32.
Compilation failed in require at /usr/local/lib/perl5/5.8.6/Test/ line 18.

It's my fault for having two different versions of perl: 5.8.6 under /usr/local/bin and Apple's default perl under /usr/bin.

It turns out that $^X is set to the string 'perl' and trips up my effort at running tests. All's well after setting HARNESS_PERL in my environment to /usr/local/bin/perl.

Perhaps one of the %Config entries should replace $^X inside Test::Harness::Straps (e.g., in &_command)?

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • You could use $Config{perlpath}, but that won't work for uninstalled perls. See also the discussion for $^X in perlvar.