in reply to
Re: Some suggestions on coding style - a chance to critique
in thread Some suggestions on coding style - a chance to critique
Thanks for the tip on allowing someone to specify their own sendmail. I didn't realize the huge security issue involved with that. I'll be sure to make changes on that asap.
return defined $thing and length $thing ? 1 : 0;
What exactly does this do? Is this one of those awkward ways to write an if statement as in old-style C? What is the purpose of the ? 1 : 0?
Finally, what do you have against CGI.pm? I'm looking for both reasons to use it and reasons not to use it. You obvioulsy have a strong opinion in one direction.
Note for PM regulars: no, I still don't like CGI.pm, but I thought it'd be a lot better than the current solution.