Re: MakeMaker: Strip *.pl extension during install?

[email protected] (Jari Aalto)
Newsgroups perl.makemaker
Message-ID <[email protected]>
Michael G Schwern <[email protected]> writes:

> Jari Aalto wrote:
>>     WriteMakefile ( EXE_FILES => [qw(bin/dyndns.pl)] );
>> 
>> I'm using Perl 5.10.0. Is there any option that could be set to strip
>> the file extensions during install? I'd like to develop the files with:
>> 
>>     foo.pl
>> 
>> So that local searches like "find . -name "*.pl" can run "perl -cw".
>> tests. But during install I'd wish they got instaled as plain:
>> 
>>     /usr/local/bin/foo
>> 
>> Likewise for the manual page: without the *.pl"
>
> No, there's no option to do that. ...
> I suggest you just rename the source files...

While possible[*], the stripping option would be great to have in next
release of MakeMaker. I hope to see it added.

Jari

[*] It's just *.pl, it also *.sh and other files included. The file
editors use *.extension to detect types and many tools rely on
extensions, so removing them is not a good situation.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.