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
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
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
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,
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
]
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