in reply to Re^3: Improving your skills by reading module sources
in thread Improving your skills by reading module sources
The objects are blessed handles, not the most convenient things if you want to subclass and actually store attributes, unless you want to go the inside-out-object way or some other "late great OO framework".sub core_function { ... Check number of arguments ... core_function($_[0], $_[1], $_[2]); }
IO::Handle actually abstracts little (it just gives some different syntax), and isn't the easiest to subclass. It doesn't really impress me.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Improving your skills by reading module sources
by BrowserUk (Patriarch) on Aug 03, 2011 at 18:44 UTC |