Andy Wardley <[EMAIL PROTECTED]> writes: > Of course, while I'm all in favour of well abstracted templates with a > clear separation of HTML, SQL, Perl, etc., there are times when being > pragmatic pays off. Sometimes a quick embedded SQL query, or a chunk of > Perl code embedded right there in the document where you can see it can > be the best thing to get a simple job done quick.
As I might have mentioned earlier, I took the inlined DBI code, stripped it out and am now running tpage to dump the data an just INCLUDEing the output. Which is the Right Way to do it. On a different note: remember my auto-language detection hack? I found the fatal flaw in doing it magically: google won't index the foreign pages as it won't have the cookie magic set. Rethink time. -- David Hodgkinson, Wizard for Hire http://www.davehodgkinson.com Editor-in-chief, The Highway Star http://www.deep-purple.com Deep Purple Family Tree news http://www.slashrock.com Interim Technical Director, Web Architecture Consultant for hire
