Tuesday December 24, 2002
Perl as modules
so I'm doing a proposal review for (yet another) generic Perl book (actually, it would be repackage of one that's already out there, but everyone needs to go through the motions anyway). one of the things that struck me while looking over the TOC was that the chapter on file handling discusses Perl's built-in functions almost exclusively - modules like
IO::File are left to a chapter on standard modules.
When I really sat down to analyze this, it actually bothered me quite a bit (though it's not the author's fault). Are there any books that teach Perl as a language and include standard modules from the start? Do they discuss
localtime right alongside the core
Time:: modules, core
Text:: with string manipulation,
Test:: with "how to write a Perl program"? I admit it's been a very long time since I've actually looked at a beginning Perl book, but making core modules just an aside seemed like a real disservice to novices all of a sudden.