|
![]() ![]() ![]() ![]()
Wake Up Your Site With PERL Scripts - November 2000 Your web site is looking good, attracting some visitors and someone (maybe you) in your organization is taming HTML. Now it is time to look at ways to make your site more interactive for your visitors and automate regular tasks to keep your site up to date and running smoothly. The answer to many of these upgrades is the use of PERL scripts. Many of these scripts will add functionality to your site that is not otherwise possible. Don't cringe in fear at the thought of learning PERL. Yes, it is a programming language but many scripts are written ready to run with a few minor adjustments. Sure there will be some initial hair-pulling but after some practice, like anything else, it starts to make sense. If you are not up to the task, your provider should be able to help or any decent web developer or programmer. University or College computer students can be a great choice. Even you can delegate the setup, it is you that has to decide what your site needs or what will make it more exciting, so you have to do some research. A few possibilities are discussion forums, automatic link pages, Chat areas. Classified ads, file management, guestbooks, mail utilities, postcards, shopping carts, traffic measurement, search utilities and more. The best place to start is Script Search (www.scriptsearch.com). This site contains over 5,000 scripts and you can search by keyword or browse by category. Browsing is a great way to find scripts that perform functions you've never thought of. Scripts are also featured in all of the other web oriented programming languages. Many of the scripts are free and paid ones vary from $25.00 to $400.00. After you have read the description you can click on a link that takes you to the script author's web site where you can download the files, read help files and get other useful information. A lot of the authors will also install their scripts and make modifications for a small fee. To install the script, you will need FTP software to upload the files. You will need to find out the location of the PERL program on your server and in which directory to install the script. Some servers require PERL scripts to run from specific directories while others permit the scripts to run anywhere. Most scripts include configuration instructions within the script and you work through it using a text editor filling in the blanks and making the necessary changes. Many include a readme file for further help. One thing that is crucial is file permissions on relevant directories and files. This is generally laid out in the instructions. Once you think it is perfect, upload the script to correct directory and try it out. They rarely work perfectly the first time and unfortunately there are few clear error messages; it just doesn't work. Like any programming language, PERL is unforgiving and a misplaced comma, period or slash will bring your script to its knees. A little bit of patience and a few more tries will bring results. When your first script works, you will be hooked and ready to try something more difficult. A great book to read is PERL For Dummies, available at most online and traditional bookstores. To learn more online visit www.perl.com or search for "Perl" at Yahoo (yahoo.com) You will definitely endure some frustration wrestling with PERL scripts, but it will be worth it once a few are working and your site has become more exciting and is attracting more visitors. Resources
|
|
|
|