Ask a Question related to PERL Modules, Design and Development.
-
Chubasco #1
Error in perl module "bignum"...
In trying to use the module "bignum", I am getting the message "Can't call
method "copy" without a package or object reference at
C:/Perl/lib/Math/BigInt.pm line 97.".
This is using ActiveState v.5.8.8 for MSWin32-x86-multi-thread.
Any ideas as to how to resolve this problem???
Chubasco Guest
-
"diameter", "has_a_cycle" problems in Graph-0.76 module
Hello all, I have some problems with these two functions in Graph : "diameter" and "has_a_cycle". "diameter" works only at the first time it's... -
Problem installing a perl module "File exists"
Hello, i'm trying to install the Date::Simple module, but i have an error: $ tar xvzf Date-Simple-3.01.tar.gz Date-Simple-3.01/... -
how to know if a module is "stock" (i.e. comes with Perl install)
>>>>> "Kevin" == Kevin Pfeiffer <pfeiffer@iu-bremen.de> writes: Kevin> I have a feeling this a FAQ... Kevin> I've CPANed so many modules I no... -
#25451 [Opn->Bgs]: OCI.dll error "Specified module not found" for both Oracle 8i and 7i OCI.DLL
ID: 25451 Updated by: sniper@php.net Reported By: damien_heiser at cable dot comcast dot com -Status: Open... -
#25451 [NEW]: OCI.dll error "Specified module not found" for both Oracle 8i and 7i OCI.DLL
From: damien_heiser at cable dot comcast dot com Operating system: Windows 2000 SP4 PHP version: 4.3.3 PHP Bug Type: OCI8... -
Eric R. Meyers #2
Re: Error in perl module "bignum"...
Chubasco wrote:
First look at 'copy' on line 97 of that file. Then you should look for a> In trying to use the module "bignum", I am getting the message "Can't call
> method "copy" without a package or object reference at
> C:/Perl/lib/Math/BigInt.pm line 97.".
>
> This is using ActiveState v.5.8.8 for MSWin32-x86-multi-thread.
>
> Any ideas as to how to resolve this problem???
require that looks related to the 'copy' context, something like 'require
File::Copy' maybe. Change 'copy' to 'File::Copy::copy', or just 'use
File::Copy'.
Eric
Eric R. Meyers Guest
-
Eric R. Meyers #3
Re: Error in perl module "bignum"...
Chubasco wrote:
Goto rt.cpan.org and create a bug ticket. If you find the fix, give them> In trying to use the module "bignum", I am getting the message "Can't call
> method "copy" without a package or object reference at
> C:/Perl/lib/Math/BigInt.pm line 97.".
>
> This is using ActiveState v.5.8.8 for MSWin32-x86-multi-thread.
>
> Any ideas as to how to resolve this problem???
that fix too, along with the error output.
[url]http://rt.cpan.org/Public/Dist/Display.html?Name=Math%3A%3ABigInt[/url]
Eric
Eric R. Meyers Guest
-
harryfmudd [AT] comcast [DOT] net #4
Re: Error in perl module "bignum"...
Eric R. Meyers wrote:
I doubt this has anything to do with File::Copy. Line 97 turns out to be> Chubasco wrote:
>
>>>>In trying to use the module "bignum", I am getting the message "Can't call
>>method "copy" without a package or object reference at
>>C:/Perl/lib/Math/BigInt.pm line 97.".
>>
>>This is using ActiveState v.5.8.8 for MSWin32-x86-multi-thread.
>>
>>Any ideas as to how to resolve this problem???
>
> First look at 'copy' on line 97 of that file. Then you should look for a
> require that looks related to the 'copy' context, something like 'require
> File::Copy' maybe. Change 'copy' to 'File::Copy::copy', or just 'use
> File::Copy'.
>
> Eric
the code for overloading the '+' operator (at least, in Math::BigInt
1.77), and appears to be referring to Math::BigInt's own copy() method.
To me, there is insufficient information in the original post to tell
what the problem is. A _minimal_ script exhibiting the problem would help.
That said, general advice would be to be sure the latest versions of the
modules involved are in use. In the case of ActivePerl, this means
something like
ppm> upgrade
(which actually upgrades nothing - it just says what needs to be upgraded).
Should the original poster find that the problem exists with the latest
modules and decide to file a bug report, this minimal script should be
included, along with the version numbers of both bignum and Math::BigInt
(just to assure the maintainer that you _did_ use the latest), and in
addition to the Perl version number and the OS you're using.
Tom Wyant
harryfmudd [AT] comcast [DOT] net Guest
-
Eric R. Meyers #5
Re: Error in perl module "bignum"...
"harryfmudd [AT] comcast [DOT] net" <"harryfmudd [AT] comcast [DOT] net">
wrote:
Yes, I just gave File::Copy as a close example for something that might have> Eric R. Meyers wrote:>>> Chubasco wrote:
>>
>>>>>>>In trying to use the module "bignum", I am getting the message "Can't
>>>call method "copy" without a package or object reference at
>>>C:/Perl/lib/Math/BigInt.pm line 97.".
>>>
>>>This is using ActiveState v.5.8.8 for MSWin32-x86-multi-thread.
>>>
>>>Any ideas as to how to resolve this problem???
>>
>> First look at 'copy' on line 97 of that file. Then you should look for a
>> require that looks related to the 'copy' context, something like 'require
>> File::Copy' maybe. Change 'copy' to 'File::Copy::copy', or just 'use
>> File::Copy'.
>>
>> Eric
> I doubt this has anything to do with File::Copy. Line 97 turns out to be
> the code for overloading the '+' operator (at least, in Math::BigInt
> 1.77), and appears to be referring to Math::BigInt's own copy() method.
>
> To me, there is insufficient information in the original post to tell
> what the problem is. A _minimal_ script exhibiting the problem would help.
>
> That said, general advice would be to be sure the latest versions of the
> modules involved are in use. In the case of ActivePerl, this means
> something like
>
> ppm> upgrade
>
> (which actually upgrades nothing - it just says what needs to be
> upgraded).
>
> Should the original poster find that the problem exists with the latest
> modules and decide to file a bug report, this minimal script should be
> included, along with the version numbers of both bignum and Math::BigInt
> (just to assure the maintainer that you _did_ use the latest), and in
> addition to the Perl version number and the OS you're using.
>
> Tom Wyant
been in a require providing a copy function, because I didn't know what the
copy was supposed to have been coming from, off the top of my head. No big
deal. I went with what I knew from his post, and my advise was correct, I
think. Usually that problem has to do with what I wrote to him.
Eric R. Meyers Guest
-
Chubasco #6
Re: Error in perl module "bignum"...
> To me, there is insufficient information in the original post to tell what
Not much add. My program works fine without the "use bignum" statement, and> the problem is. A _minimal_ script exhibiting the problem would help.
>
fails when
the "use bignum" statement is included. This says to me that this is an
error in the library.
The latest version of ActiveState Perl is loaded.> That said, general advice would be to be sure the latest versions of the
> modules involved are in use. In the case of ActivePerl, this means
> something like
A bug report has been filed.> Should the original poster find that the problem exists with the latest
> modules and decide to file a bug report, this minimal script should be
> included, along with the version numbers of both bignum and Math::BigInt
> (just to assure the maintainer that you _did_ use the latest), and in
> addition to the Perl version number and the OS you're using.
Chubasco Guest



Reply With Quote

