A Cart-Based Sales Application

The doc_shop.pl application that was developed earlier in the chapter handled a shopping situation simple enough to allow us to avoid dealing with issues such as managing a shopping cart or creating a mechanism for presenting a large catalog in smaller portions. In this section, we’ll deal with another shopping scenario that requires those capabilities. The application is called pet_shop.pl, because it provides access to a catalog of items that relate to keeping your pets happy, healthy, well-groomed, and so forth. When you first invoke pet_shop.pl, it presents a page showing a list of product categories and a set of links across the top that provide access to the various functions of the application (see Figure ...

Get MySQL and Perl for the Web now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.