I have been into that matter for some time; not being able to decide what type of language to use for a specific task.
Here are some of the diffrences :
- This is Client-Side scripting, so you will be depending on the user's browser to support or not your scripts.
- In order to access specific objects (form fields values, or list values) you will need to setup a way to access them supporting all the browsers ex: Netscape calls the form diffrently than IE, and another diffrent one is NS6 (and that's only two types of browsers)
- I'm sure you will find more...
- This is Server-Side scripting, so all your scripts will run whatever browser asks them to.
- In order to access specific objects, you just use CGI.pm and you have an object with all the values you need in it.
- Processing text is as simple as "writing the right RexEx" in Perl.
Finally, If you have a lot of text to process, and you need to do it quickly and efficiently, go for Perl, it's faster(in programming) and more reliable.
I hope this information helps you decide
Chady | http://chady.net/
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>
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
Want more info? How to link or
or How to display code and escape characters
are good places to start.