Skip Menu |

This queue is for tickets about the WWW-Twilio-API CPAN distribution.

Report information
The Basics
Id: 133774
Status: new
Priority: 0/
Queue: WWW-Twilio-API

People
Owner: Nobody in particular
Requestors: zakame [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.21
Fixed in: (no value)



Subject: examples.pl gets installed alongside module file in lib/
ExtUtils::MakeMaker picks up the examples.pl in the root dir of this distribution and installs it into INST_LIB, alongside the WWW/Twilio/API.pm file: ───────┬──────────────────────────────────────────────────────────────────────── 1 │ [zakame:~/.cpanm … WWW-Twilio-API-0.21] % perl Makefile.PL INSTALL_BASE │ =/tmp/mybase 2 │ Checking if your kit is complete... 3 │ Looks good 4 │ Warning: prerequisite LWP::Protocol::https 0 not found. 5 │ Warning: prerequisite LWP::UserAgent 2.03 not found. 6 │ Generating a Unix-style Makefile 7 │ Writing Makefile for WWW::Twilio::API 8 │ Writing MYMETA.yml and MYMETA.json 9 │ [zakame:~/.cpanm … WWW-Twilio-API-0.21] % make 10 │ cp examples.pl blib/lib/WWW/Twilio/examples.pl 11 │ cp lib/WWW/Twilio/API.pm blib/lib/WWW/Twilio/API.pm 12 │ Manifying 1 pod document 13 │ [zakame:~/.cpanm … WWW-Twilio-API-0.21] % make install 14 │ Manifying 1 pod document 15 │ Installing /tmp/mybase/lib/perl5/WWW/Twilio/API.pm 16 │ Installing /tmp/mybase/lib/perl5/WWW/Twilio/examples.pl 17 │ Installing /tmp/mybase/man/man3/WWW::Twilio::API.3 18 │ Appending installation info to /tmp/mybase/lib/perl5/x86_64-linux-threa │ d-multi/perllocal.pod 19 │ [zakame:~/.cpanm … WWW-Twilio-API-0.21] % tree /tmp/mybase 20 │ /tmp/mybase 21 │ ├── lib 22 │ │   └── perl5 23 │ │   ├── WWW 24 │ │   │   └── Twilio 25 │ │   │   ├── API.pm 26 │ │   │   └── examples.pl 27 │ │   └── x86_64-linux-thread-multi 28 │ │   ├── auto 29 │ │   │   └── WWW 30 │ │   │   └── Twilio 31 │ │   │   └── API 32 │ │   └── perllocal.pod 33 │ └── man 34 │ └── man3 35 │ └── WWW::Twilio::API.3 36 │ 37 │ 11 directories, 4 files 38 │ ───────┴──────────────────────────────────────────────────────────────────────── The examples.pl should be moved into another directory in this distribution (typically named eg/ or examples/) along with adjusting the MANIFEST, so that EU::MM can skip it when installing the module.