Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: CPAN tests failing

by moritz (Cardinal)
on Apr 28, 2012 at 17:35 UTC ( #967841=note: print w/replies, xml ) Need Help??

in reply to CPAN tests failing

That module is called and used as RandomJungle::TestData, but you store it in lib/, not lib/RandomJungle/ That's why perl doesn't find it.

You might have a RandomJunge/ somewhere that is not shipped inside the distribution, which is why it works locally for you.

Replies are listed 'Best First'.
Re^2: CPAN tests failing
by bobf (Monsignor) on Apr 28, 2012 at 17:40 UTC

    If that's the case, then the entire distro is broken because I am missing the /lib/RandomJungle directory. I'll repackage it and release another version. Hopefully that does the trick. :-)

    Thanks for the help!

    Update: Version 0.03 has been uploaded and should be pushed to my CPAN directory soon. If anyone would like to give it a quick look, I'd appreciate it.

      From what I can tell by your CPAN layout, your directory structure should look like this:

      lib /RandomJungle /File |- |- |- |- /Tree |- |- |- |-

      Congrats on your first upload btw! For me, it was a stressful thing to do, and it took me a very long time and very much research before my first one :)

      Update: Let us know when you've got it updated and I'll install and test it.

        Close. It should be:

        lib /RandomJungle <= note spelling /File |- |- |- |- /Tree |- |- |- |-

        Thanks for the congrats. There is definitely a learning curve involved. I've been creating private modules for local use for years, but this is the first time I've tried to package one up for public release.

        FWIW, I used ExtUtils::ModuleMaker to create the stubs and then copied my files into the structure. For some reason I assumed the parent directory (RandomJungle) was taken from the name of the distro and /lib contained everything in that virtual directory. As I said above, I added the parent dir into /lib and re-released. Fingers crossed. :-)

        I also tested the packaged dist locally before I uploaded it to PAUSE, but I think the other files in my path were helping the tests to pass when they should have failed.

        Update: Thanks very much for offering to test the dist! The new release (ver 0.03) hasn't been pushed from the PAUSE FTP directory into my CPAN dir as of this post, but it should show up soon.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://967841]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2018-04-25 22:47 GMT
Find Nodes?
    Voting Booth?