Find Jobs
Hire Freelancers

Simple Perl Script Amendments Needed

$50-2000 USD

Cancelled
Posted over 9 years ago

$50-2000 USD

Paid on delivery
This should be an easy project for a Perl programmer. We have an existing Perl script that connects to [login to view URL]'s XML interface. We need to add a few extra parameters to the script that checks for availability. Currently we check for an available quantity of rooms. We want to give users the option to say precisely how many rooms they want and who will be in them e.g. 2 adults, 1 child age 4 and another child age 1. You can see the functionality we're looking for by going to [login to view URL] and selecting More options from the drop down. This then brings up 3 drop down boxes to allow the site user to select number of rooms, number of adults, number of children. If there are children selected then their age(s) need to be entered. You will need to create a very simple form (you can base it on the [login to view URL] form) that accepts the data - we'll use this on our site but will do all the styling, etc ourselves. The form needs to work in a very similar fashion to the [login to view URL] form - you can examine their HTML source code as you would any regular web page. The values then need to be interpreted by the Perl script and also allow for users not entering any details. Our current script parses the number of single, double and triple (family) rooms in a variable called rooms and copes with multiple rooms - your new script needs to replace this section of the code and needs to cope with multiple rooms and zero or more children. You will need to declare your own (sensibly named) variables to deal with the changes. Current code: foreach my $r1 (@rooms) { my @r2=split(/x/,$r1); my $room_occupancy; my $rooms_required=$r2[0]; if ($r2[1]eq'S') {$room_occupancy=1;} elsif ($r2[1]eq'D') {$room_occupancy=2;} elsif ($r2[1]eq'F') {$room_occupancy=3;} push(@{$self->{'rooms'}},[$room_occupancy,$rooms_required]); $self->_log("Add room: $room_occupancy,$rooms_required"); $self->{total_rooms}+=$rooms_required; $self->{total_guests}+=$room_occupancy*$rooms_required; } } else { $self->{'rooms'}=[[1,2]]; $self->{total_rooms}=1; $self->{total_guests}=1; } Once the array is created, the data is passed to the [login to view URL] XML interface in another Perl module. This section currently takes the rooms_required array and then sends it to [login to view URL] in the correct format. It will need to be modified to send the new information. We will supply a copy of the complete set of Perl modules in a private message but you need to be aware that most of them are irrelevant for this project, we'll supply them in case we've missed any dependencies you may need to check. Other notes: Our site is live - you *will not* be given access to our server. Please do not bid if this is an issue for you. The connection to [login to view URL] is secure and we cannot get a test account set up. You *will not* be given our account and password - all testing will be done by us. Please do not bid if this is an issue for you. As described above, you will need to create a very simple test form in HTML. This will need to include the relevant names for the form elements to match your code.
Project ID: 6556089

About the project

16 proposals
Remote project
Active 10 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
16 freelancers are bidding on average $317 USD for this job
User Avatar
Hi, We are experts in perl and can build the html and perl script for you. Please discuss further. Ready to start now. Thanks.
$200 USD in 3 days
4.9 (134 reviews)
6.0
6.0
User Avatar
I am an expert in Perl and can deliver the project as per your specifications and expectations .
$552 USD in 3 days
5.0 (27 reviews)
5.6
5.6
User Avatar
Hello, Greetings from Shweta in Bangalore India. I have the expertise in Perl and have handled many XML based APIs earlier. I can surely have this done at higher priority. Thanks, Shweta
$222 USD in 3 days
4.9 (23 reviews)
4.7
4.7
User Avatar
Dear potential employer. Perl/Web expert here. Please, accept this bid to have your task done nicely, yet at moderate price. Looking forward for update.
$177 USD in 3 days
4.9 (13 reviews)
4.9
4.9
User Avatar
I will provide the amendments required on the script you have. I will do all testing on my server in order to minimize exposure on the production server. Best regards Carlos
$170 USD in 3 days
5.0 (6 reviews)
2.6
2.6
User Avatar
Hello, I am an experienced Perl Developer (5 years). Completed some good Perl Projects recently with good feedback from employer. Looking forward to this project. Thanks Raj
$180 USD in 3 days
5.0 (2 reviews)
1.9
1.9
User Avatar
Hi, trevor92. I have a strong background in data processing and string manipulation using Perl, python, bash and scripting in General. I can start as early possible depending on your approval and acceptance. In relation to this application, I can rest assured I will impart a high quality and reliable, efficient and accurate with the output. Give me a try and I will try to get the best results and finish the project far before the deadline. Thanks, Cracken
$555 USD in 7 days
3.4 (3 reviews)
2.2
2.2
User Avatar
Pretty straightforward update. Sounds tricky to do so without a test area, but request appears to be in alignment with the existing code so should be doable following just the logic flow and XML specs.
$250 USD in 3 days
5.0 (1 review)
1.3
1.3
User Avatar
Hi, first of all I must tell you that had there not been so much of restrictions this could have been done for a lot cheaper price. Anyways respecting your business requirements, I am putting up this proposal. I hope your will appreciate the risk involved in it from my perspective. I would also request you to have 30-60 minutes of discussion after the bid is accepted and modules are provided. Regards, Vishwa
$222 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I've been a perl programmer for more than 15 years, I am good at API, XML stuff and although I am not very good at HTML user interface styling I think you don't need that.
$555 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Non hai ancora fornito una proposta
$777 USD in 6 days
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$111 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED KINGDOM
Cheltenham, United Kingdom
5.0
264
Payment method verified
Member since Feb 16, 2004

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.