in reply to Compilation failed, Vendor::Amazon, Vendor::BarnesNoble

If I understand it correctly, "Unknown error" results when a require fails in a way that should have set $@ but didn't. You can often get to the actual error by feeding perl directly the .pm file (.../Vendor/Amazon.pm or BarnesNoble.pm, in this case). You should report this using perlbug.
  • Comment on Re: Unknown compile error - desperation

Replies are listed 'Best First'.
Re: Re: Unknown compile error - desperation
by luisfagundes (Initiate) on Feb 23, 2004 at 04:14 UTC
    I got, thanks for all! The problem was that Vendor::Amazon had:
    use base Vendor::Base;
    one thing I did but couldn't associate with was:
    use strict; use base Vendor::Base;
    then I realized that if strict goes after, no problem. Later I figured all out: base is the module and Vendor::Base is the parameter, so quotes are necessary around Vendor::Base. with strict after or without strict, no problem without quote.

    That's it. Thanks again.