Solved

Seat Reservation System

Posted on 1997-11-23
2
902 Views
Last Modified: 2012-05-05
This is not a specific Perl programming question but I
want to know where I might get hold of a Perl script
written to accommodate a theatre seat reservation
system. I have a shopping cart Perl Prgramme that I have
modified but all the shopping cart systems I have seen do
not accommodate stock control. In the case of a theatre seat
(stock of 1) when it is booked the stock needs to decrement
to zero so that no one else can double book the same seat.

Any suggestions please.

Thanks - Brian Roberts
0
Comment
Question by:BlueFin
2 Comments
 
LVL 8

Accepted Solution

by:
Kobe_Lenjou earned 50 total points
ID: 1208858
Well the simple way would be that you created an array as big as the amount of chairs you have, and that you place a '1' in each seat wich is accupied.
The problem is that this would be a completely new part of your shopping car app (I wouln't use one of these for that)
0
 

Author Comment

by:BlueFin
ID: 1208859
Kobe
Thanks for the help - I'm surprised I haven't been able to find
a script for seat reservations somewhere - shopping carts are all
over the place and I would have thought a script for seat
reservations might have been more readily available.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Question about @INC variable in perl 1 58
syslog unix file 20 73
Migrate OTRS to newest version. 1 335
Any syntax error for this clone.plscript 6 139
I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question