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
Solved

Seat Reservation System

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
collecting information 2 179
Convert grep lines to perl 6 58
How to prepend a string to a matched string using regex and substitution in Perl 5 81
Perl modules on linux ec2 3 113
Many time we need to work with multiple files all together. If its windows system then we can use some GUI based editor to accomplish our task. But what if you are on putty or have only CLI(Command Line Interface) as an option to  edit your files. I…
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…
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…

809 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