Solved

Seat Reservation System

Posted on 1997-11-23
2
908 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
Email validation in proper way is  very important validation required in any web pages. This code is self explainable except that Regular Expression which I used for pattern matching. I originally published as a thread on my website : http://www…
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…
Six Sigma Control Plans

632 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