in reply to Re: blessed object containing reference to hash
in thread blessed object containing reference to hash
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
|
|---|