Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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


Comment on Re: Storing a BLOB in a Hash

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 perusing the Monastery: (8)
As of 2014-10-01 11:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (9 votes), past polls