Re: Again : Including other files

2001-06-28 Thread Gabor Szabo
Hi Rajeev, it is the approach of perl4: without modules, You can use this but it will be better for you if created a module (or modules) from the included file and use that module. the performance difference is neglectable compared to the runtime of a script. see perldoc perlmod -- Gabor

Including other files

2001-06-27 Thread James Kelty
Can you include say a header and footer .cgi file that is just a subroutine? The reason I ask, is that it seems to me that it might make things (on a larger application) easier if all you had to do was mess with the middle content of the pages. Does this make sense at all? -James

Re: Including other files

2001-06-27 Thread Brett W. McCoy
On Wed, 27 Jun 2001, James Kelty wrote: Can you include say a header and footer .cgi file that is just a subroutine? The reason I ask, is that it seems to me that it might make things (on a larger application) easier if all you had to do was mess with the middle content of the pages. Does

Re: Including other files

2001-06-27 Thread James Kelty
Sorry about the confusion. I did mean in the body of the main cgi and subsequent cgis later. Not SSIs. Sorry about that. -James Brett W. McCoy wrote: On Wed, 27 Jun 2001, James Kelty wrote: Can you include say a header and footer .cgi file that is just a subroutine? The reason I ask,

Re: Including other files

2001-06-27 Thread Brett W. McCoy
On Wed, 27 Jun 2001, James Kelty wrote: Sorry about the confusion. I did mean in the body of the main cgi and subsequent cgis later. Not SSIs. Sorry about that. Well, yes, you can do that. In fact, from a design standpoint, it's definitely a good idea to take out the common elements of your

Re: Including other files

2001-06-27 Thread Rajeev Rumale
] To: James Kelty [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, June 28, 2001 8:01 AM Subject: Re: Including other files Yes you can. -Original Message- From: James Kelty[EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Wed Jun 27 15:18:23 PDT 2001 Subject: Including other files