Objects,Modules and Packages
- Lives in its own namespace
- Package methods can be exported or called directly
Foo->bar()
- (if
Foo
exports it)
- A module is a file containing one or more packages
- An object is a ed reference to a hash
- It doesn't have to be a hash reference,but it's most common.
- Blessing assigns a single class to an object
- An object can be re-blessed
- You can muck with the internals,but that doesn't mean you should
- Modules must end with a true value
- Packages don't have the same restriction