James Edward Gray II wrote: > Since we didn't see anything outside of the constructor in the posted > code, I assumed (possibly incorrectly) that $blocks was some form of > class data. I see no problem with setting some class data from the > constructor, if needed.
Good point. I'm afraid I entirely failed to notice that the hash being assigned here was not part of the $self hash. I very rarely have class data other than constants. I agree, there can be very useful purposes for such an assignment of a class variable. So yes, that would definitely be one of the tasks to be taken care of in the destructor. Thanks for the perspective. Joseph -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>