{...} without any of the hassle of mod_perl (like conflicting name spaces, my variable hassle, working out exactly when mod_perl will reload your code etc...)
Uh, those are all the hassles about Apache::Registry, just one of the many
ways to use mod_perl, and in fact one of the most primitive and kludgy.
Once you get out
of babystep mode, and start using real tools like HTML::Mason or
HTML::EmbPerl, you'll find that using these higher level tools makes
mod_perl pretty much as easy to use as PHP, and you won't top out
in what you're able to do with it.
As I've said before here... PHP is "training wheels without the bicycle". Use
it if mod_perl isn't available, but if you have a choice, learn something
with power rather than scaffolding.
-- Randal L. Schwartz, Perl hacker
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|