Yes, i managed to make it work by using the + 0 , seems to be some problem
with Perl itself
Thank You
Show quoted text-----Mensagem Original-----
From: Toby Inkster via RT
Sent: Wednesday, March 05, 2014 6:38 AM
To: rafaeljose@zoho.com
Subject: [rt.cpan.org #93524]
<URL:
https://rt.cpan.org/Ticket/Display.html?id=93524 >
I saw your question on PerlMonks too.
http://www.perlmonks.org/?node_id=1076924
Have you tried using:
$api->call(
'sendfrom',
$sender_account,
$receiving_address,
$btc+0, # add 0 to explicitly cast to a number
6
);
JSON has different types for numeric and string data. Perl doesn't. So the
Perl JSON modules use all kinds of weird tricks to try to guess whether
something that looks like a number is supposed to be encoded as a number or
a string.
Let me know if that works.