File: web_store_order_lib.pl
Subroutine: process_order_form
Toward the end of this routine, I added a few lines to create a link
back to our home page for a successful order, and instructions on going
back for an unsuccessful order:
# The user is notified that the order
# was a success
print "
Your order has been sent!
\n";
print "Thank you!
\n";
print qq!
Return to The Notgrass Company Home Page
!;
} else {
# The user is notified if the order
# was not a success (not all required
# fields were filled in).
#
print "Your order has not been sent!
\n";
print "Press the Back button in your browser and
complete the
order form.
\n"