http://qs321.pair.com?node_id=530161


in reply to Re^2: CGI Contact Form / Mailer
in thread CGI Contact Form / Mailer

Well, I used to like Matt's scripts, anyway. He had the spirit of the first american people that populated North America. In other words, he did it all by himself. Not using CPAN modules.

Then, other fans like me (or that just wanted to correct Matt's big and famous mistakes: NMS), rewrote all those well known scripts correcting all their security flaws and adding some tested modules.

Why? Because, modules are like 'cans' of experience in specific aspects. I wouldn't dare to write better ones without spending some years in the effort. They are done by people that have to deal with certain issues because of their work and afterwards they decide to share their experience with the perl community to make all our jobs easier, better and 'safer'.

Normally, after trying coding all by myself (without any module), the next step is doing a newer version all handled by modules. It is very easy after I have understood all what was required to do it on my own. It is a safer code because there are lots of security aspects to take into acount in order to put my code in the web.

We all have to learn this lesson, since it is never well explained from the start. Don't worry. Next code published, try to do it simpler or with modules. That's all!