Perl and SQL are languages created to do totally separate things, so converting SQL to PERL really wouldn't be all that useful.
However using PERL and SQL together can make your jobs a lot easier and can also lighten the load on your SQL server. Compiling large amounts of data and having SQL do processing on all of the records, which on heavily used database servers, can slow the server a lot, which can be a problem especially with CGIs which will timeout. Instead you can do the data processing in PERL, which will free up some processing time on the database server. Not to mention huge SQL queries are just a pain to begin with.
This is just from personal experience, where we had many database servers brought to their knees by programmers who didn't take advantage of perl's data processing power.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.