Hi,

I have a similar situation in my project.  I have created a file like
mylib.pl and I put all my subroutines into it.

In every page which I use i just add a line "require  mylib.pl"  IT works
fine for me.

I would like to know
1. if this approch is Good
2. Is their any performance problem compared to writing the subs directly in
"main".
3. Is there any better approch.

with regards

Rajeev Rumale

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rajeev Rumale
MyAngel.Net Pte Ltd.,                                            Phone  :
(65)8831530 (office)
#04-01, 180 B, The Bencoolen,                               Email  :
[EMAIL PROTECTED]
Bencoolen Street, Singapore - 189648                     ICQ    : 121001541
Website : www.myangel.net
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


----- Original Message -----
From: "Mark Bergeron" <[EMAIL PROTECTED]>
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
>
> >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
>
> /~_. _ | _ _  _  _
> \_/|(_||| | |(_)| |
>      _|
> ___________________________________________________
> GO.com Mail
> Get Your Free, Private E-mail at http://mail.go.com
>
>
>

Reply via email to