in reply to DBI fetchall_hashref convert to scalar

G'day 3dbc,

I'd take a look at the built-in module Storable.

It's DESCRIPTION starts:

"The Storable package brings persistence to your Perl data structures containing SCALAR, ARRAY, HASH or REF objects, ..."

And, right after that, the MEMORY STORE section begins:

"The Storable engine can also store data into a Perl scalar instead, to later retrieve them. ..."

— Ken

  • Comment on Re: DBI fetchall_hashref convert to scalar

Replies are listed 'Best First'.
Re^2: DBI fetchall_hashref convert to scalar
by afoken (Chancellor) on Feb 03, 2017 at 13:02 UTC