[Pdx-pm] Help with Dashrep module

Joshua Keroes jkeroes at gmail.com
Mon Mar 9 17:18:35 PDT 2009


In your module's project directory:

mkdir -p lib/Language
mv Language-Dashrep.pm lib/Language/Dashrep.pm


On Mon, Mar 9, 2009 at 4:46 PM, Richard Fobes <prog at solutionscreative.com>wrote:

>  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 www.Dashrep.org.  Eric Wilhelm verbally helped me get started on this
> open-source contribution, and he said there were some helpful Perl folks on
> this list.
>
> The "make test" command produces the following error:
>
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/Language-Dashrep....
> #   Failed test 'use Language::Dashrep;'
> t/Language-Dashrep....NOK 1#   in t/Language-Dashrep.t at line 7.
> #     Tried to use 'Language::Dashrep'.
> #     Error:  Can't locate Language/Dashrep.pm in @INC
>
> 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".
>
> Clarifications:  Yes, @INC includes the ..../blib/lib folder that contains
> the Language-Dashrep.pm file.  Also, I used the h2xs tool to generate the
> starting files.  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.
>
> I've been programming in Perl for many years (15 or more?) but admittedly
> I'm a novice when it comes to making modules.
>
> In advance, thanks for any help!
>
> Richard Fobes
>
>
>
> _______________________________________________
> Pdx-pm-list mailing list
> Pdx-pm-list at pm.org
> http://mail.pm.org/mailman/listinfo/pdx-pm-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/pdx-pm-list/attachments/20090309/3fed6bb9/attachment.html>


More information about the Pdx-pm-list mailing list