Re: Separating code from layout

2001-06-16 Thread Gerald Richter
Hi, there are several possibilities: 1.) As Jack already wrote you can do the computing in a separate file and call the output page via Execute. The file that does the computing could either be another Embperl page or a Apache::Registry script or any other Perl programm. You can pass variables v

RE: Separating code from layout

2001-06-15 Thread Jack Cushman
Hi, The way we usually do it is with 2 embperl files -- 1 for code and one for layout. The code file loads all the data and then calls the other. For example: index.epl: [- use DBI; foreach $key (keys %fdat){ #handle form input } #load database