QM has asked for the wisdom of the Perl Monks concerning the following question:
#!perl use strict; use warnings; use Math::BigInt; my $x = new Math::BigInt 27; my $y = $x->new(44); # this is the funny bit my $z = Math::BigInt->new(99); exit;
DB<1> x $y 0 27=HASH(0x14f15ac) 'sign' => '+' 'value' => ARRAY(0xbc9cd4) 0 44
DB<2> p $y 27=HASH(0x14f15ac)
Update: Bug reported here.
-QM
--
Quantum Mechanics: The dreams stuff is made of
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Math::BigInt new
by tobyink (Canon) on Sep 27, 2012 at 15:30 UTC | |
by QM (Parson) on Sep 27, 2012 at 15:46 UTC | |
by tobyink (Canon) on Sep 27, 2012 at 16:13 UTC | |
by remiah (Hermit) on Sep 27, 2012 at 23:12 UTC |