Tony Marston said:
"John Bokma" <
[email protected]> wrote in message
[ snip ]
Image using the wrong wrapper function.
Yeah, I can. And I can even more imagine the same person writing his/her
own "software"...
Besides, even if you do write
your own wrapper function you only ever do so once. Then you re-use
it, and re-use it, and re-use it.
Yes, that is why there is CPAN. To re-use it. I understood that PHP has
something along these lines too.
If I want to fix something to a wall then a screw is not necessarily
the only method. What about a nail or even glue?
So you make your own nails, and brew you own glue. Probably dig your own
metal, and herd your own cows.
There are different
possible fixings for different types of wall, so just because someone
has invented one type of fixing does mean that it is the only type of
fixing.
And hence, CPAN doesn't have one module called Screw.pm
With PHP, UNIFACE, COBOL and a few other languages I have used in the
past. I don't touch perl.
That sounds like "I don't use glue, ever! Because I have experience with
nails and screws, and hey, I make them myself"
When there are thousands of competing libraries out there,
Sure, there are thousands of competing modules on CPAN...
There are in total 7057 modules ( 2004-10-07,
http://cpan.org/ )
You really think that are 7057 similar and competing libraries?
how do I know which is the right one?
Little research, asking. Some modules come with the "core" distribution
of Perl. And sometimes you learn some new ones. Staying in touch with
the languages you use is always important. You can't learn a language
and it's important libraries in a weekend.
Should I spend weeks looking and
comparing, or days in writing my own?
Yep, days writing your own, and tweaking for each new project, bug
fixing, and testing backwards compability. The looking needs only to be
done once. Or you write the perfect library from scratch?
Who are the "right people"?
Read usenet, you learn fast. Also some right people in the Perl group
recommend modules now and then.
I have come across too many people who
class themselves as "experts" who turn out to be charlatans and
quacks.
Yeah ;-)