in reply to Re: blessed object containing reference to hash
in thread blessed object containing reference to hash

TedYoung,
Your statement: First, a quick note: you do not need to do any of the Exporter stuff at the top without an explanation might be a little confusing. The following is more to benefit others than you - even then it is an oversimplification.

Exporter is a useful tool that allows subroutines defined in another namespace to become part of your namespace when you use that module. There are issues to be concerned with like which ones to export by default, name collisions, etc. When using OO however, it is not necessary to export any subroutines that will be used as methods on that object.

Of course there is a lot more to the story and spending time RTFMing helps turn the scary black magic into ordinary perl-fu.

Cheers - L~R

  • Comment on Re^2: blessed object containing reference to hash