in reply to Passing API params via string

You don't have to pass a string but named parameters.

That is something like

 $req = $analytics->new_request( %qry_hash );

should do.

Your DB structure is not obvious for me but check out DBI ->fetchrow_hashref to get what you need as a $hashref.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

Replies are listed 'Best First'.
Re^2: Passing API params via string
by Laurielounge (Acolyte) on Sep 11, 2017 at 23:53 UTC
    Perfect. Problem solved.
    Thanks so much