Richard Lee wrote:
I would like someone's experince on learning modules.
I have been avoiding learning modules for couple reasons
1)to learn and try to reinvent some of the wheels to learn the tricks
2)and I just don't really understand OO modules.
It is very difficult for me to understand modules that have OO
interfaces and have been trying to read and understand OO more but
it's been a big struggles.
so, question is, is there a OO modules that are on CPAN that are easier
to read and use than others?
As long as you only want to _use_ a module, it ought to be pretty
straightforward: Just follow the guidance in the module docs.
Unfortunately that's not always true; some Perl modules were written
with experienced programmers in mind, so their docs are not very
instructive to beginner level programmers like you and me.
To learn how to write modules in general, I recommend that you study
perldoc perlmod
perldoc perlmodstyle
To better understand the OO interface, I wrote an own OO module a couple
of years ago: http://search.cpan.org/perldoc?CGI::UploadEasy
While I believe it's one of the simplest OO modules on CPAN, it's a
useful tool for writing a simple file upload application.
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/