http://qs321.pair.com?node_id=684252


in reply to Re^2: Data Structures
in thread Data Structures

Where are you going to store your 1000 objects?
In an object?

And how are you going to access the individual instances you need?
Isn't that what accessors are made for?

Of course in Perl, objects are just eye-candy around a data-structure (hashes, arrays, or any combination) but if I follow your reasoning, I should program in Assembler as in the end it all is machine-code.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James