Re: General Perl/Web questions

2006-04-28 Thread Chad Perrin
On Fri, Apr 28, 2006 at 10:21:43AM -0400, Leonid Grinberg wrote: > > Alternatively, you can make a common_functs.pl file, where each one of > the above actions is performed in a subroutine (the file should only > have subroutines, and should not do anything outside of them (except > like use stric

Re: General Perl/Web questions

2006-04-28 Thread Randal L. Schwartz
> ""Leonid" == "Leonid Grinberg" <[EMAIL PROTECTED]> writes: "Leonid> Yeah, what that would pretty much mean is that you will make a file "Leonid> called, say, CommonFuncts.pm and then in each Perl script say "Leonid> use CommonFuncts; That's a really bad package name. You're bundling thing

Re: General Perl/Web questions

2006-04-28 Thread Leonid Grinberg
Yeah, what that would pretty much mean is that you will make a file called, say, CommonFuncts.pm and then in each Perl script say use CommonFuncts; Alternatively, you can make a common_functs.pl file, where each one of the above actions is performed in a subroutine (the file should only have sub

Re: General Perl/Web questions

2006-04-28 Thread JupiterHost.Net
Steve Gross wrote: I've just finished developing a small web site that uses Perl, CGI, DBI and HTML-Template. Typically, an HTML page calls a Perl script that does a database fetch, parses the data and then puts it on another web page using a template. I've noticed that most of my web

General Perl/Web questions

2006-04-28 Thread Steve Gross
I've just finished developing a small web site that uses Perl, CGI, DBI and HTML-Template. Typically, an HTML page calls a Perl script that does a database fetch, parses the data and then puts it on another web page using a template. I've noticed that most of my web pages look the same: