in reply to Method not found in package?

Try

perl -w -MMath::BigFloat -mMath::NumberCruncher
But this is kinda strange, I don't have any problems with Math::NumberCruncher (Not that I really tested it, but it does load). What versions of the two modules do you have? What version of Perl? And what OS are you using?

I use:
  Math::NumberCruncher 5.00
  Math::BigFloat 1.35
  Perl 5.8 (ActivePerl build 805)
  Windows 2000 Server

Jenda
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.
   -- Rick Osborne

Edit by castaway: Closed small tag in signature

Replies are listed 'Best First'.
Re: Re: Method not found in package?
by Itatsumaki (Friar) on May 01, 2003 at 14:15 UTC
    Hi, thanks for your reponse. Trying the -m option still gives me the:
    Can't locate object method "copy" via package "Math::BigFloat" (perhap +s you forgot to load "Math::BigFloat"?) at C:/Perl/site/lib/Math/Numb +erCruncher.pm line 33. Compilation failed in require. BEGIN failed--compilation aborted.

    The modules I'm using are:

    • Perl 5.6.1 (ActivePerl build 633)
    • Math::BigFloat 1.38
    • Math::NumberCruncher 5.00
    • Windows XP SP1 (5.1 Build 2600)
    Perhaps I should find the older version of Math::BigFloat on CPAN and see if that changes things. I'll let you know what happens.

    -Tats