amudelkaa has asked for the wisdom of the Perl Monks concerning the following question:
And I get this error instead:$b_ecc = $b_ecc->as_hex(); $bmask = $bmask->as_hex(); $bigint_data = $bigint_data->as_hex(); print "$bigint_data, $bmask, $b_ecc\n"; $count_xor+=1 if($b_ecc->is_odd());
Can't call method "is_odd" without a package or object reference at blah in line 21
Something I am missing here. Works fine, if I don't covert it to int. I have alternative methods to get around this, but would like to understand the problem though.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Math after hex conversion
by Corion (Patriarch) on Nov 09, 2016 at 11:36 UTC | |
|
Re: Math after hex conversion
by ww (Archbishop) on Nov 09, 2016 at 11:47 UTC | |
|
Re: Math after hex conversion
by Monk::Thomas (Friar) on Nov 09, 2016 at 14:42 UTC | |
|
Re: Math after hex conversion
by GotToBTru (Prior) on Nov 09, 2016 at 13:10 UTC |