NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Modules for begineers (Score:2)
Similar thoughts occurred to me. I'm coaching a beginner in Perl. We've done all the usual stuff, files, arrays, hashes, matches, regexes etc. and I'm just wondering when and how to introduce modules. IMHO most books leave it too late - and drop it in just when the reader is starting to feel confident and WHAM! - but put it in too early when the reader is just beginning to understand and WHAM!WHAM!
I also think it is a mistake to tie it too closely to OO. I've heard other people at work say "Oh I don't need modules, because it isn't OO based".
Reply to This
Re:Modules for begineers (Score:1)
and yes, modules do not (necessarily) equal OO. A good example is
File::Specwhich provides both functional and OO interfaces. modules as libraries is really the direction I was headed - for OO stuff Object-Oriented Perl is the best resource and there's no reason to try and repeat that work again.