On Tue, 19 Aug 2003, Billy N. Patton wrote:
> I use a ExtUtils::MakeMaker to create my makefile.
>
> In my source file I have:
> #!/usr/local/bin/perl
> use strict;
> require 5.005;
>
> After installation into the blib and therefore the final destination I get:
> #!/apps/perl/5.8.0/bin/perl
>
> eval 'exec /apps/perl/5.8.0/bin/perl -S $0 ${1+"$@"}'
> if 0; # not running under some shell
> use strict;
> require 5.005;
>
>
>
> ls -l /usr/local/bin/per*
> /usr/local/bin/perl -> perl-5.8.0
> /usr/local/bin/perl-5.8.0 -> /apps/perl/5.8.0/bin/perl
>
>
> I have determined that the following line makes the change:
> /usr/local/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)"
> blib/script/clean_laff
>
> How do I stop this from happening?
Although there may be a simpler method, I usually resort to subclassing
the offending method. There's some verbiage in the MakeMaker man page
which gives an example of the technique.
If anyone knows of comprehensive documentation on MakeMaker (past what's
in the man pages) please speak up?
Steve