CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in
Add ListingModify ListingTell A FriendLink to TPASubscribeNew ListingsCool ListingsTop RatedRandom Link
Newest Reviews
  • review
  • hagen software
  • NOT GPL!
  • Hagan Software
  • Wasted Time with ...
  • poor pre-sale sup...
  • no response
  • rating the offer
  • Good Stuff
  • Good idea but use...


  •  
    Perl Archive : TLC : Programming : Perl : Page 3
    Guide Search entire directory  this category
     
    Subcategories:

      mod_perl (16)
      tk (1)
     
    Links:   Pages: [<<] 1 2 3 4 5 6 [>>]

      Finding CGI Scripts   

    Save to Personal List   Rate this Listing   Review This Listing   Recommend this link to a friend   Report Broken Link  
    Date Published: 2002-08-28

    No matter how much we try to persuade people that Perl is a multi-purpose programming language, we'd be deluding ourselves if we didn't admit that the majority of programmers first come into contact with Perl through their experience of CGI programs. People have a small web site and one day they decide that they need a guest book, a form mail script or a hit counter. Because these people aren't programmers, they go out onto the web to see what pre-written scripts they can find.

    And there are plenty to choose from. Try searching on ``CGI scripts'' at Google. I found about two million hits. The first two were those well-known sites - Matt's Script Archive and the CGI Resource Index. Our web site owner will visit one of these sites, find the required scripts and install them on his web site. What could be simpler? See, the web is as easy as people make it out to be.

    In this article, I'll take a closer look at this scenario and show that all is not as rosy as I've portrayed it above.

    Click here to read more...

     (Added: Wed Aug 28 2002 Hits: 58 Rating: 0.00 Votes: 0)

      Why use CGI.pm   

    Save to Personal List   Rate this Listing   Review This Listing   Recommend this link to a friend   Report Broken Link  
    Date Published: 2002-08-27

    One of Perl's greatest strengths is the CPAN, an archive of programs, scripts, snippets, and modules. These are all made available to other programmers worldwide, usually under the same terms as Perl itself. Just about anything that can be done with Perl is on the CPAN, or will be there shortly. (Some writers even find inspiration for columns and articles by watching the list of recent uploads.)

    Because of (or contributing to) Perl's popularity as a language for web development and CGI programming, several CPAN modules handle everything from HTML formatting to CGI parameter processing. The grande dame is CGI.pm. Written by Lincoln Stein, it has the potential to make your CGI scripts shorter, more secure, more valid, and much easier to write. Even better, the CGI module has shipped in the core Perl distribution for several years. Any web host worth using will have it installed.

    Unfortunately, many coders are not aware of the module's existence. Others don't see the need, as it's possible to write CGI programs in Perl without CGI.pm. Doing so, however, is similar to reading webpages through telnet instead of using a web browser. This may be a good learning experience, but it's fragile and very difficult to debug.

    Two widely-used ``alternatives'' exist. One is cgi-lib.pl, an ancient Perl 4 libary. The other is a copied and pasted snippet of code that originated either in a web programming book or a free script. Both date back to the origins of the original CGI standard. While there are good alternatives to CGI.pm, these two solutions do not apply. They appear simple and effective, especially if they're familiar, but subtle and unsubtle bugs lurk underneath. Except in very specific cases, all new CGI programs written in Perl should use CGI.pm. This article explains three areas in which the module is superior to the other two common approaches.

    Click here to read more...

     (Added: Tue Aug 27 2002 Hits: 62 Rating: 0.00 Votes: 0)

      Book Chapter - Sams Teach Yourself Perl in 21 Days, Second Edition (Part 1 of 2)   

    Save to Personal List   Rate this Listing   Review This Listing   Recommend this link to a friend   Report Broken Link  
    Date Published: 2002-08-26

    Scalar data, as you learned yesterday, involves individual items such as numbers and strings. Yesterday, you learned several things you could do with scalar data; today, we'll finish up the discussion, show you more operators you can play with, and finish up with some related topics.

    Go to Part 2

    Click here to read more...

     (Added: Mon Aug 26 2002 Hits: 65 Rating: 0.00 Votes: 0)

      Book Chapter - Sams Teach Yourself Perl in 21 Days, Second Edition (Part 2 of 2)   

    Save to Personal List   Rate this Listing   Review This Listing   Recommend this link to a friend   Report Broken Link  
    Date Published: 2002-08-26

    We'll finish up today with two topics that initially might not seem to fit with everything else we've talked about concerning scalar data: handling simple input and output. I've included them here essentially for one reason: so you know what's been going on in the scripts you've been writing that read input from the keyboard and print output to the screen.

    Back to Part 1

    Click here to read more...

     (Added: Mon Aug 26 2002 Hits: 70 Rating: 0.00 Votes: 0)

      Web Development with Apache and Perl   

    Save to Personal List   Rate this Listing   Review This Listing   Recommend this link to a friend   Report Broken Link  
    Date Published: 2002-08-26

    In this chapter we'll discuss the different aspects of the web server, by which we mean both the physical machine and the program that responds to clients. It may seem somewhat confusing to mean two or more different things at different times, but the usage is normal in the industry. Context should make it clear when we mean hardware or software.

    Click here to read more...

     (Added: Mon Aug 26 2002 Hits: 75 Rating: 0.00 Votes: 0)

      Autovivification : What is it and why do I care?   

    Save to Personal List   Rate this Listing   Review This Listing   Recommend this link to a friend   Report Broken Link  
    Date Published: 2001-02-16

    During the growth curve of every Perl hacker they come to managing complex data structures like hash of hashes and lists of lists, etc. They usually get the hang of it with help from perllol, perldsc, some good books, usenet, #perl and whatever other resources they can find. But one subtle Perl feature seems to trip many of them up and that is the subject of this tutorial.

    Click here to read more...

     (Added: Fri Feb 16 2001 Hits: 65 Rating: 0.00 Votes: 0)

      Function of the Month - grep   

    Save to Personal List   Rate this Listing   Review This Listing   Recommend this link to a friend   Report Broken Link  
    Date Published: 2000-08-29

    Hi, and welcome to the first issue of my new column, ``Function of the month''. Every month, we'll begin by examining one of Perl's built-in functions and explore some ways to use it. From there, we'll take a broader look at how to solve some related problems in Perl and investigate any other Perl tricks and techniques we come across, just to remind you that there's always More Than One Way To Do It!

    Click here to read more...

     (Added: Tue Aug 29 2000 Hits: 62 Rating: 0.00 Votes: 0)

      PerlWhirl 2000   

    Save to Personal List   Rate this Listing   Review This Listing   Recommend this link to a friend   Report Broken Link  
    Date Published: 2000-07-01

    Have you ever been on a cruise? Have you ever been to a Perl conference? If so, just imagine enjoying both simultaneously.

    Click here to read more...

     (Added: Sat Jul 01 2000 Hits: 56 Rating: 0.00 Votes: 0)

      yapc 19101   

    Save to Personal List   Rate this Listing   Review This Listing   Recommend this link to a friend   Report Broken Link  
    Date Published: 2000-07-01

    A mere 2 weeks after returning from Perl Whirl 2000, I made a last-minute conference decision and was off again to yapc 19100 (Yet Another Perl Conference).

    Click here to read more...

     (Added: Sat Jul 01 2000 Hits: 73 Rating: 0.00 Votes: 0)

      Beginning Perl : Ten Perl Myths   

    Save to Personal List   Rate this Listing   Review This Listing   Recommend this link to a friend   Report Broken Link  
    Date Published: 2000-05-01

    Responses to the top 10 myths about Perl.

    Click here to read more...

     (Added: Mon May 01 2000 Hits: 60 Rating: 0.00 Votes: 0)

      Pages: [<<] 1 2 3 4 5 6 [>>]
                                                                                                                                                                                                                                                                                                                                                                                                                                       


    About The Perl ArchiveLink Validation ProcessSearch Tips
    Web Applications & Managed Hosting Powered by Gossamer Threads
    Visit our Mailing List Archives