Why do work that you don't need to? It takes me about 12 and a half seconds to type: use CGI; ...
Sure. After you've used CGI a few times it only takes a few seconds. But I'll wager the first time took a lot longer. It took me hours, because I wanted to understand what was going on under the covers. Ditto for the XML:: stuff. The first time can be a killer. If the only advice we give people is to use CGI, XML::*, etc., then we might be short-changing them. It might be the "right" way, but is it the only way? Heck no. Applying a regex to $ENV{'QUERY_STRING'} works just fine for some one-off problems. Do I do that anymore? No. But in some cases, it's O.K. to send people away with that as an option.
-
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.
|