Perl Monk, Perl Meditation | |
PerlMonks |
Re: Using index.pl as the default pageby DrZaius (Monk) |
on Jul 07, 2001 at 02:28 UTC ( [id://94640]=note: print w/replies, xml ) | Need Help?? |
You probably don't want to do it this way. If you are using apache, you'll want to look into mod_perl. It allows you to use handlers instead of scripts (which are generally faster) to accomplish this.
Also, look at Apache::PageKit which is a complete templating system that allows you to write reusable components. You've just stepped into a design pattern that a large portion of perlmonks is familiar with. I'm sure if you ask a few questions and do some reading you'll find a superior, thought out plan to your website. Btw, if you are using apache, try:
In Section
Seekers of Perl Wisdom
|
|