punkish at Lucknow ~$curl 'http://dm.local/dm.json?var=prcp&from=1980-1-1&to=1980-2-2' { "prcp" : [ 0, 1, 1, 0, .. ] } Is there a way to get that curl output to be more compact, like so {"prcp": [0,1,1,0, .. ]} On the server side all I am doing is return {'prcp' => \@vals}; -- Puneet Kishor