in reply to Using a Fetchrow with LWP

Among other things, you're attempting to fetch a hashref per row but then trying to access it as if it were an arrayref. Meanwhile $ref[0] refers to an array @ref, which you don't have. I guess you're not using strict or warnings, why not?


The way forward always starts with a minimal test.

Replies are listed 'Best First'.
Re^2: Using a Fetchrow with LWP
by justin423 (Scribe) on Jul 19, 2023 at 00:42 UTC
    This is the error I get when trying to use an array reference. A URI can't be a ARRAY reference

      See the example I posted here.


      The way forward always starts with a minimal test.