Hello salazar
Have there been any problems or gotchas you have experienced or noticed which consistently occur amongst converts?
Only one thing.
If you are used to the PHP way, you may get an almost 1:1 transition in Web projects using HTML::Mason.
Mason allows you (doesn't force you) to intersperse your HTML with stuff like
[some.html] ... <table class="someclass"> % my $counter = 1; % foreach my $pr (@projects) { % my $rowcolor = ++$counter & 1 ? $color{DARK} : $color{LIGHT}; <tr class="tablefont" bgcolor="<% $bgcol %>"> <td> <% $pr->{topic} %>:</td> <td> <% $pr->{link} %> </td> </tr> % } </table> ...
which is almost a PHP idiom (in contrast to the "smarty" way ;-)
And, you may implement catalyst-like controller logic right into the directory it belongs to (dhandler)
Regards
mwa
In reply to Re: From PHP to Perl - Should I, and how?
by mwah
in thread From PHP to Perl - Should I, and how?
by salazar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |