On Sun, Jul 29, 2012 at 01:40:16PM -0700, Father Chrysostomos wrote: > Rev. Chip said: > > I didn't use the term "stash" or "glob", and that was on purpose. I would > > like to see this work, where the RHS of bless is a simple hash that stays > > simple: > > > > bless [0], { inc => sub { ++$_[0][0] }, > > dec => sub { --$_[0][0] }, > > DESTROY => sub { print "BYE\n" } }; > > bless [0], package { sub inc { ++$_[0][0] }, > sub dec { --$_[0][0] }, > DESTROY { print "BYE\n" } }; Sweet. How would one go about inspecting this stash, given $obj = <that expression>? -- Chip SalzenbergThread Previous | Thread Next