$ 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 "#!/usr/bin/env perl" fixes this problem.* $ cpan cpan shell -- CPAN exploration and modules installation (v1.9800) Enter 'h' for help. Could the next version of Strawberry Perl use the amended shebang to increase compatibility with Git Bash? System: $ specs perl bash git os Specs: specs 0.4 https://github.com/mcandre/specs#readme ppm --version Unknown or ambiguous command '--version'; type 'help' for commands. cpan --version c:\strawberry\perl\bin/cpan version 1.5902 calling Getopt::Std::getopts (version 1.07 [paranoid]), running under Perl version 5.16.2. [Now continuing due to backward compatibility and excessive paranoia. See 'perldoc Getopt::Std' about $Getopt::Std::STANDARD_HELP_VERSION.] Nothing to install! perl --version This is perl 5, version 16, subversion 2 (v5.16.2) built for MSWin32-x86-multi-thread Copyright 1987-2012, 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. bash --version GNU bash, version 3.1.0(1)-release (i686-pc-msys) Copyright (C) 2005 Free Software Foundation, Inc. git --version git version 1.8.0.msysgit.0 systeminfo | findstr /B /C:"OS Name" /C:"OS Version" OS Name: Microsoft Windows XP Professional OS Version: 5.1.2600 Service Pack 3 Build 2600 -- Cheers, Andrew Pennebaker www.yellosoft.us