in reply to Cryptic error message

Fifteen lines from the top, you have the line;
return 1;

Why?

Replies are listed 'Best First'.
Re^2: Cryptic error message
by Phemto (Acolyte) on Oct 05, 2007 at 12:06 UTC
    I was just desperately trying to get it to return a true value, so I put that in much closer to the top in hopes that would do it. It was a test that I forgot to take out again before posting. Thanks for catching it.

    Now... wouldn't you think  return 1; would mean that the module is returning "1". And last I knew 1 was a true value. My office-mate didn't sprout a goatee overnight, so I must not have woken up in mirror-world.

    Very confused.

      I created a dummy Cloud, Lens and G_code1_25 module in my current directory and removed the return 1; line (although from later testing I can say that it didn't make any difference) and your code works for me, atleast I don't get the same error.

      I think that you are finding a old version of the Ablation module. Run the following and see if the Ablation module is being found in the right spot.

      perl -MAblation -e 'use Data::Dumper; print Dumper \%INC'