Re: Adding installable script to a perl module distro?



Ignoramus8644 <ignoramus8644@xxxxxxxxxxxxxxxxxxx> wrote:

> On Tue, 30 Aug 2005 21:50:04 +0200, Robert Jordan <robertj@xxxxxxx>
> wrote:
>> Ignoramus8644 wrote:
>>> I created a perl module distro Net::eBay, and added to it a small
>>> sample program get-ebay-official-time.pl. How do I make it install
>>> into /usr/bin without being too unix specific.
>>
>> I suppose you're using ExtUtils::MakeMaker for your module.
>> Have a look at the EXE_FILES parameter.
>
> Thanks. I did it, but it does not install into /usr/bin when I do
> "make install". It installs into
>
> /usr/lib/perl5/site_perl/5.8.6/Net/ebay-official-time.pl
>
> It's not where I want it to be. Any ideas?

I wouldn't want a script to install *anything* in my /usr/bin.

If it's a short example I would put it in the pod documentation.

If you want to have it installed,

/usr/lib/perl5/site_perl/5.8.6/Net/eBay/examples might be a good place

or

/usr/lib/perl5/site_perl/5.8.6/Net/eBay/eg

or

/usr/lib/perl5/site_perl/5.8.6/Net/eBay/demo

(after a look at my C:\Perl)


--
John Small Perl scripts: http://johnbokma.com/perl/
Perl programmer available: http://castleamber.com/
Happy Customers: http://castleamber.com/testimonials.html

.