Re: separating functionality

2003-09-26 Thread Dan Anderson
Using the package command breaks up things into different namespaces. For instance you could: package my_package; # do something #do somethingelse Puts both #do something and #do something else in the my_package namespace. On the other hand: { package my_package; # do something } #do somethi

separating functionality

2003-09-26 Thread perl
Sorry to ask this question here but I can't seem to get the beginner perl list to work for me. What is the concept/functionality to put functions or sub in a separate file? I'm thinking something like creating a file for basic resusable functions/sub like maybe require or include or something. Can

Re: SSI in subdomains

2003-09-26 Thread Ramon Chavez
Shaun: Thank you. I tried with And it worked Answering some things. I'm hosting on a Cobalt server in Linux. I got no differences using or not the spacebefore "-->". Anyway It's now in the script. As I said, the only way I was getting the SSI to work was having 'script.pl' inside the 'cg

Re: Include Files in Perl?

2003-09-26 Thread drieux
On Thursday, Sep 25, 2003, at 17:44 US/Pacific, seldan wrote: [..] However, I am trying to keep this site as modular and easy to maintain as possible and cannot seem to find the right equivalent for a basic PHP "include" or "require" function. I use several variables that stay the same throughou

Include Files in Perl?

2003-09-26 Thread seldan
Hello. I have been writing and maintaining a web-based intranet application for some time, primarily written in PHP with the backend written in POSIX shell. The pages access a postgreSQL database and I use a bit of JavaScript to make things look nice. In effect, it is a typical DB driven app. to