john@makemake:~/dev/HTML-EntityReference$ perl Build Building HTML-EntityReference john@makemake:~/dev/HTML-EntityReference$ ./Build Building HTML-EntityReference john@makemake:~/dev/HTML-EntityReference$ ./Build test t/00-load.t ...... 1/1 # Failed test 'use HTML::EntityReference;' # at t/00-load.t line 6. # Tried to use 'HTML::EntityReference'. # Error: Can't locate HTML/Entity-HTML5_draft.inc.pl in @INC (@IN +C contains: /var/content/dev/HTML-EntityReference/blib/lib /var/conte +nt/dev/HTML-EntityReference/blib/arch /etc/perl /usr/local/lib/perl/5 +.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /u +sr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl) at /v +ar/content/dev/HTML-EntityReference/blib/lib/HTML/EntityReference.pm +line 345. # Compilation failed in require at (eval 4) line 2. # BEGIN failed--compilation aborted at (eval 4) line 2. Bailout called. Further testing stopped: # Testing HTML::EntityReference 0.010, Perl 5.010001, /usr/bin/perl # Looks like you failed 1 test of 1. FAILED--Further testing stopped. john@makemake:~/dev/HTML-EntityReference$
Maybe it only copies files with a .pm extension? Your example added another module to the tree, not an internal file that would be "required".
In reply to Re^2: Build.PL usage during module authoring
by John M. Dlugosz
in thread Build.PL usage during module authoring
by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |