Installation


The Perl Breadcrumb Trail navigation menu script is very easy to install, even if you have no Perl or web development experience, you shouldn’t have any problems.


Before you Start:

As the CGI script creates the menus dynamically, you need to follow a few simple rules to get the most form it. Although, if you follow good web development practices, you’ll probably find you already are.


Installing the Script:

  1. Change the first line of the script to your path for Perl. If its #!/usr/bin/perl then you don’t need to change anything. If you’re not sure, ask your hosting provider
  2. FTP the script to you cgi-bin (or any folder that can run cgi scripts) in ASCII mode
  3. CHMOD the script permissions to 755, that’s owner; read, write, execute. Group and public; read and execute
  4. Use <!--#exec cgi="/cgi-bin/navigation.cgi"--> (change to the location you have the script) in your (x)HTML where you want the menus to appear
  5. That’s you! You should now have a working CGI dynamic navigation menu

Note, you can change the formatting of the menu in 2 ways. The first is to hard code it in the script. That will work, but its more flexible if you use an anchor style sheet. Then you can make it fit your site without having to change the script.