Mason or Registry?

2009-09-26 Thread
Hello, One of our customers run a small site (about 3000 IP each day), written with Perl CGI originally. Now to expand some features and improve the performance, they want to upgrade the site. So do you think which is better that it will be re-written with pure modperl (for example, using Mason),

Re: problem with CSS in a dynamic document

2009-09-25 Thread
2009/9/26 Bruce Johnson : > > or just print the html. When executed as a cgi script, the outgoing > connection from Apache is the script's stdout. Variables substitute just > fine. > > print < Content-type: text/html\n\n > > Howdy $username! > ... > > EOF > > Works for us. > > This way I can do

Re: problem with CSS in a dynamic document

2009-09-25 Thread
2009/9/25 Chuck Crisler : > > use CGI; > use DBI; > > my $query=new CGI; > ... > # output a document > print $query->header(); > print $query->start_html(-title=>"Howdy", >                         -style=>{-src=>'./dynamic.css'}); > print $query->h1('Form Data'); > > > Here is the contents of the f