maybe he just wanted to share his code with us, regardless whether this had been CPAN'ed already
some people might not have axx to the CPAN repository (not many but i'm sure they're around), or don't know it exists
reinventing the wheel is unproductive for the company/project , but then again not all wheels are perfectly round and thus can use some re-engineering. The learning process while reinventing is valuable too !
Read his reply, where he says
"Thanks ... this would have saved me quite some time ..."
I'm not picking on him. I'm not saying he's a bad person.
There's really no need for you to defend him.
I'm trying to find a way for us as a community to help
promote the CPAN so that cases like this, where someone
reinvents the wheel but didn't want to, are minimized.
some people might not have axx to the CPAN repository
(not many but i'm sure they're around),
or don't know it exists
Aha! The very point I'm trying to make.
Perhaps next time you'll want to read what's been written
before wasting time with irrelevant and incorrect hypotheses.
You're basicly right.
But just don't hit people too hard
(I'm not saying you did)
If they're not aware of some less knowns/obscure modules, or
miss them during their search or avoid them for whatever reason(limited shell, VERY simple solution needed...)
I think CPAN is just one of the numerous way to do it
(and often the best) but just let people choose (or simply be ignorant...)