in reply to Re: JSON parsing issue please help
in thread JSON parsing issue please help

If you were using strict and warnings, you'd be getting a "Not an ARRAY reference at .." message pointing at the above line, which would be a strong clue to the solution of your problem.

neither strict nor warnings are required

$ perl -e " $f = { }; $f->[0]; " Not an ARRAY reference at -e line 1.

Replies are listed 'Best First'.
Re^3: JSON parsing issue please help
by BrowserUk (Patriarch) on Sep 30, 2012 at 07:01 UTC

    Good point.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    RIP Neil Armstrong