In your module's project directory:<br><br>mkdir -p lib/Language<br>mv Language-Dashrep.pm lib/Language/Dashrep.pm<br><br><br><div class="gmail_quote">On Mon, Mar 9, 2009 at 4:46 PM, Richard Fobes <span dir="ltr"><<a href="mailto:prog@solutionscreative.com">prog@solutionscreative.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
<font face="Verdana">I've finally encountered a Perl problem for which
I can't find any documentation, so I'm asking for help. It's for a
module I'll be submitting to the CPAN archives. It implements the
Dashrep descriptive programming language, which I've developed over
many years. Details of the language are at <a href="http://www.Dashrep.org" target="_blank">www.Dashrep.org</a>.</font><font face="Verdana"> Eric Wilhelm verbally helped me get started on this
open-source contribution, and he said there were some helpful Perl
folks on this list.<br>
</font><font face="Verdana"><br>
The "make test" command produces the following error:<br>
</font>
<blockquote><font face="Verdana">PERL_DL_NONLAZY=1 /usr/bin/perl
"-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib',
'blib/arch')" t/*.t</font><br>
<font face="Verdana">t/Language-Dashrep....</font><br>
<font face="Verdana"># Failed test 'use Language::Dashrep;'</font><br>
<font face="Verdana">t/Language-Dashrep....NOK 1# in
t/Language-Dashrep.t at line 7.</font><br>
<font face="Verdana"># Tried to use 'Language::Dashrep'.</font><br>
<font face="Verdana"># Error: Can't locate Language/Dashrep.pm
in @INC</font><br>
</blockquote>
<font face="Verdana">It appears to be looking for a file named
"Dashrep.pm" within a folder named "Language", yet all the references
(and the successful use of "perl Makefile.PL" and "make") operate on a
file named "Language-Dashrep.pm".<br>
<br>
Clarifications: Yes, @INC includes the ..../blib/lib folder that
contains the </font><font face="Verdana">Language-Dashrep.pm file.
Also, I used the h2xs tool to generate the starting files.</font> I've
been able to successfully execute the "Language-Dashrep.t" test code by
using some workarounds, but now I need the standard CPAN installation
process to work correctly without any workarounds.<br>
<font face="Verdana"><br>
I've been programming in Perl for many years (15 or more?) but
admittedly I'm a novice when it comes to making modules.<br>
<br>
</font><font face="Verdana">In advance, thanks for any help!</font><br>
<font face="Verdana"><br>
</font><font face="Verdana">Richard Fobes<br>
<br>
<br>
</font>
</div>
<br>_______________________________________________<br>
Pdx-pm-list mailing list<br>
<a href="mailto:Pdx-pm-list@pm.org">Pdx-pm-list@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/pdx-pm-list" target="_blank">http://mail.pm.org/mailman/listinfo/pdx-pm-list</a><br></blockquote></div><br>