in reply to Getting error while decoding JSON object via POST method
The error is on these two lines.
my $jsonText = $q->param('inputdata'); my $outputDataRef = $json->decode($inputData);
If you'd used strict Perl would have told you about the undeclared variable $inputData.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Getting error while decoding JSON object via POST method
by perlCrazy (Monk) on Feb 06, 2013 at 07:20 UTC | |
by Corion (Patriarch) on Feb 06, 2013 at 07:25 UTC | |
by perlCrazy (Monk) on Feb 06, 2013 at 08:40 UTC | |
by Corion (Patriarch) on Feb 06, 2013 at 09:01 UTC | |
by tobyink (Canon) on Feb 06, 2013 at 09:59 UTC |