And there's your problem identified.
JSON's decode method has this syntax:
$perl_scalar = $json->decode($json_text)
but you're invoking it as:
$perl_scalar = $json->decode($hash_reference)
Use Data::Dumper to determine what data the hash reference points to. Perhaps your JSON string is in there somewhere.
-- Ken
In reply to Re^3: Help with JSON Module
by kcott
in thread Help with JSON Module
by foggy3657
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |