in reply to Re: Odd eval Problem
in thread Odd eval Problem
princepawn,
I am storing my Perl in a database because I am storing EVERYTHING in the database. I have broken all HTML formatting aspects down to where I can store in a table. I store arbitrary SQL queries as entries in a database. I also provide session and value latencies.
The reason I'm doing this is that I am tired of reinventing the wheel (well, swiping my old code anyway) everytime I build a web application. It also bothers me to mix HTML code with Perl when I come back a few months later and I'm trying to figure out what's going on. When I am done I will be able to whip up a complex web page in a few minutes, draw it with a standard API, and then handle the logic (and only logic) with Perl.
You probably don't see the advantage of something like this, and I'm not going to try to convert you. But I have used a system like this before (TCL/Sybase instead of Perl/MySQL) and I know from experience that it is a powerful and efficient way to create websites.
James