I have a question about perl's efficiency when it comes to memory usage. Here are the situations, which one uses less memory?:
1) I have 30 scalar variables (i have good reasons, just assume I need them all...)...
2) I have one hash with 30 keys...
Which one is more memory efficient? ( assume I don't care about sorting or anything...) Since I need to reference the values by a 'name' these are my two options (unless someone knows something I don't ;) So what is the most efficient?