Solved

Seat Reservation System

Posted on 1997-11-23
2
899 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
cpan issue 1 61
Perl Scripting from a shell script with if and for 4 82
Perl troubleshooting error. Base64 bootstrap parameter 5 63
Perl File::Find alternative 1 51
I've just discovered very important differences between Windows an Unix formats in Perl,at least 5.xx.. MOST IMPORTANT: Use Unix file format while saving Your script. otherwise it will have ^M s or smth likely weird in the EOL, Then DO NOT use m…
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…
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…

932 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now