[Catalyst] putting an object in the stash

Simon Wilcox simonw at digitalcraftsmen.net
Tue Mar 13 12:01:26 GMT 2007


On Tue, 13 Mar 2007, Daniel McBrearty wrote:

> basically : an object IS a (blessed) hash.

Not necessarily, you can also bless scalars and arrays. A blessed array,
in particular can be a very effective way of improving performance for
certain types of data structures.

> You kind of need to understand this, if you don't already. It's worth
> having a read through the tutorials.

And buy Damian's book - Object Oriented Perl.

http://www.amazon.co.uk/Object-Oriented-Perl-Damian-Conway/dp/1884777791

Simon Wilcox

-- 
Digital Craftsmen Ltd
Exmouth House, 3 Pine Street, London. EC1R 0JH
t 020 7183 1410 f 020 7099 5140 m 07951 758698
w http://www.digitalcraftsmen.net/



More information about the Catalyst mailing list