Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 ?
Replies are listed 'Best First'.
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 perusing the Monastery: (8)
As of 2015-07-30 04:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls