|P is for Practical|
Mixing Mysql and Perlby SavannahLion (Pilgrim)
|on Jan 09, 2004 at 22:40 UTC||Need Help??|
SavannahLion has asked for the
wisdom of the Perl Monks concerning the following question:
Usually, when I wrote SQL queries, they were pretty simple, very small scripts that would run for specific situations.
I'm now trying again, this time with Perl. And I've got the MySQL server running quite nicely :)
Searching around the web, I don't find very many examples of this practice, if any at all. Are there any examples showing the seperation between the three modules in a practical example
The book I have from the SQL class discusses it on an accademic level, which is rather useless. I understand where you draw the line. What I don't understand is the fine working details. For example. I have Table A. Do I create multiple functions to extract only the necessary information I want from Table A. Or is it easier to create one Universal function to pull the table rows, and use the, "glue," to extract the elements I want and take a performance hit?
Thanks for your patience.
Prove your knowledge @ HLPD