Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Storing a BLOB in a Hash

by MZSanford (Curate)
on Oct 08, 2002 at 21:00 UTC ( #203750=note: print w/ replies, xml ) Need Help??


in reply to Storing a BLOB in a Hash

If you are talking about using a hash (or, hashref) to hold the metadata and data together like an object, there should be no problem. It will take maginally more space than if you used seperate scalars (space for keys/buckets), but will be worth it in readability/maintainability/etc. If you are talking about pulling all of the rows (which i dont think is the case), you may want to rethink the design.
from the frivolous to the serious

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://203750]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2016-08-26 05:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (366 votes). Check out past polls.