skip to Main Content

Perl, JSON, float, quotes – CPanel

We have a Perl application which creates JSONs from DB queries. Unfortunately, it handles floats wrong, as it puts double quotes around floats. E.g.: use DBI; use JSON::MaybeXS; my $dbs="dbi:ODBC:myconnection,myuser,mypwd,"; my @ARR=split/,/ ,$dbs; $dbh = DBI->connect(@ARR, { PrintError=>0, RaiseError=>1, LongReadLen=>60000})…

VIEW QUESTION
Back To Top
Search