Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: PHP to PERL ?

by vagnerr (Prior)
on Dec 27, 2005 at 23:07 UTC ( [id://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.

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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://519445]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2024-04-20 00:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found