On Thu, 2006-02-16 at 09:48 -0800, Michael Greenish wrote: > What I like about PHP over perl is the ease of > variable declaration. I feel I have to use strict > with perl, I would like the ability to not have to put > "my" in front of every new variable. Probably 1/4 of > my errors when debugging pages for the first time are > undeclared variables. Seems stupid and I try to be > thorough, but it still happens and it's a nuisance.
That's Perl letting you know you have bugs, which you asked it do by putting "use strict" at the top. If you don't use strict, it will let you keep your bugs. > My biggest complaint for perl for web apps, however, > is the templating. I haven't found a template module > in perl that rivals Smarty templates in PHP. It sounds like you somehow missed Template Toolkit: http://www.template-toolkit.org/docs/default/Tutorial/Web.html - Perrin