Re: The shebang supplied with starberryperl/bin/cpan doesn't work with Git Bash
[email protected] ("Linda A. Walsh") Fri, 26 Apr 2013 11:30:37 -0700
| Newsgroups | perl.win32.vanilla |
|---|---|
| Message-ID | <[email protected]> |
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 /usr/bin/perl -S $0 ${1+"$@"}'
if $running_under_some_shell;
#!/usr/local/bin/perl
use strict;
use vars qw($VERSION);
use App::Cpan;
$VERSION = '1.57';
---
Note, I get the above output on both my linux and cygwin box...
>