in reply to Includes in Perl

Do you know if the hosting company supports "Server Side Includes" (or "SSI")? If so, that is probably much easier to use than to use Perl to include this "link area".

You just make one file with the links and "include" it in every page through SSI. To change the links on all pages, you just have to change the links in that one file.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

Replies are listed 'Best First'.
Re^2: Includes in Perl
by Rachy222 (Novice) on Dec 09, 2007 at 20:44 UTC
    Yeah, according to what I am reading online they support HTML/SSL (shtml)/CGI/Perl. If you have something I can use in SSL that would be amazing too, if you do I'm afraid you will have to write it like an idiots guide cause I'm new to the whole world of programming. Cheers Rachy
      Sorry, "SSL" has nothing to do with "SSI".

      SSL of "Secure Sockets Layer" is a way of making webpages secure by encrypting the communication between server and client.

      CountZero

      A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

        No worries thanks for your help anyway. Cheers Rachy

      "SSL (shtml)"?

      Secure Socket Layer (SSL) and Server Side Includes (SSI) are unrelated.

      SSL is an encryption technology. Secure HTTP (HTTPS) is HTTP over SSL.

      SSI allows the addition of simple dynamic aspects to HTML. Quite often, .shtml files are associated with SSI.

      My fellow monks were talking about SSI.

        Wow that's a lot of acronyms in one post!! I'm afraid that's all the information I have as the host is useless, it's a cheap package picked by my mate to do the job. Any suggestions then? Cheers Rachy