Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: PHP to PERL ?

by vagnerr (Prior)
on Dec 27, 2005 at 23:07 UTC ( #519445=note: print w/ replies, xml ) Need Help??


in reply to PHP to PERL ?

PHP is more tightly integrated into the actual html output than Perl, you will want to look at some of the templating modules available on CPAN such as HTML::Template



_______________________________________________________
Remember that amateurs built Noah's Ark. Professionals built the Titanic.


Comment on Re: PHP to PERL ?
Re^2: PHP to PERL ?
by reneeb (Chaplain) on Dec 28, 2005 at 02:25 UTC

      Just to clarify, your definition of 'better' in this example is probably defined as 'faster'. Note that the author of HTML::Template::Compiled Tina Mueller mentioned on the mod_perl mailing list that she wouldn't advise using H::T::C in production.

      Not to worry though because if speed is your goal, you might want to have a peek at HTML::Template::JIT instead. It's stable and has a decent test suite.

      -- vek --
        Just to clarify, your definition of 'better' in this example is probably defined as 'faster'.
        I guess reneeb was referring to the dynamic include feature of HTC, which HTML::Template doesn't have: <tmpl_include_var name="parameter_which_contains_filename">
        Note that the author of HTML::Template::Compiled Tina Mueller mentioned on the mod_perl mailing list that she wouldn't advise using H::T::C in production.
        sure, but this advice wasn't meant for eternity =)
Re^2: PHP to PERL ?
by Anonymous Monk on Dec 28, 2005 at 16:14 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://519445]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (11)
As of 2014-07-24 07:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (158 votes), past polls