Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2017-06-25 00:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (563 votes). Check out past polls.