h2xs is kind of long in the tooth. Personally, I use the module-starter program (installed with Module::Starter) which will get everything framed out nicely for you. I&#39;m sure there are other options on CPAN too.<br><br>
Anyhoo, this particular error is caused by not having all of the POD in place. Make sure you have a NAME section in there.<br><br>Cheers,<br>Joshua<br><br><div class="gmail_quote">On Mon, Mar 9, 2009 at 11:26 PM, Richard Fobes <span dir="ltr">&lt;<a href="mailto:prog@solutionscreative.com">prog@solutionscreative.com</a>&gt;</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"><div class="im">
Joshua Keroes wrote:
<blockquote cite="http://midc67b68200903091718k3539df46u31a092b0fcad2e36@mail.gmail.com" type="cite">In your module&#39;s project directory:<br>
  <br>
mkdir -p lib/Language<br>
mv Language-Dashrep.pm lib/Language/Dashrep.pm<br>
</blockquote>
</div><font face="Verdana">Thank you, Joshua!<br>
<br>
</font><font face="Verdana">Based on your recommendation </font><font face="Verdana">I moved the file from lib/Language-Dashrep.pm to
lib/Language/Dashrep.pm.<br>
<br>
</font><font face="Verdana">Alas, now </font><font face="Verdana">the
&quot;perl Makefile.PL&quot; command generates the following warning:<br>
</font>
<blockquote><font face="Verdana">WARNING: Setting ABSTRACT via file
&#39;lib/Language/Dashrep.pm&#39; failed at
/usr/lib/perl5/5.8.8/ExtUtils/MakeMaker.pm line 615</font><font face="Verdana"><br>
Writing Makefile for Language-Dashrep</font><br>
</blockquote>
<font face="Verdana">How do I fix this?  (Apparently it prefers the
Language-Dashrep.pm file naming convention.)<br>
<br>
Now there&#39;s a new problem.  I ignored that warning and ran the &quot;make&quot;
and &quot;make test&quot; commands.  This time it found the file.  Yay!  However,
when the test file encounters the following line ...<br>
<br>
    BEGIN { use_ok(&#39;Language::Dashrep&#39;); };<br>
<br>
... it fails with an error.  It can&#39;t find Language::Dashrep.  That
makes sense because the installation isn&#39;t yet complete!  (The &quot;chicken
and the egg&quot; problem.)<br>
<br>
What am I overlooking?  Did the </font><font face="Verdana">h2xs tool
create the wrong code?  What should the Language-Dashrep.t (test)
file&#39;s &quot;BEGIN&quot; line look like?</font><br>
<font face="Verdana"><br>
</font><font face="Verdana">Again, in advance, thanks for any help.<br>
<br>
Richard Fobes<br>
</font><br>
<br>
</div>

</blockquote></div><br>