Andrew Pennebaker wrote:
$ head `which cpan`
#!/usr/local/bin/perl
use 5.006;
use strict;
use vars qw($VERSION);
use App::Cpan;
$VERSION = '1.5902';
Maybe you didn't run some installer script -- it patches those files:
head $(which cpan)
#!/usr/bin/perl
eval 'exec
$ head `which cpan`
#!/usr/local/bin/perl
use 5.006;
use strict;
use vars qw($VERSION);
use App::Cpan;
$VERSION = '1.5902';
my $rc = App::Cpan-run( @ARGV );
$ cpan
bash.exe: /c/strawberry/perl/bin/cpan: /usr/local/bin/perl: bad
interpreter: No
such file or directory
*Correcting the shebang to