Fix of a broken perl script

Closed Posted Mar 21, 2015 Paid on delivery
Closed

We have a script that maintains our databases and does various routines. Somewhere it has broken and isn't doing what we need it to do. This will require someone really good in perl to get caught up and then someone who can help us with ongoing work as it happens.

And example code of this particular script is this:

if ($cmd eq "add" || $cmd eq "forceAdd" || $cmd eq 'addMac' || $cmd eq 'removeMac') {

if ($type eq "trango_900") {

}elsif ($type eq "trango_5"){

}elsif ($type eq "mikrotik" ){

# get wireless list

$total_lines = &getResult("interface wireless access-list print",$main_ssh);

$wireless_uid = -1;

if ($total_lines =~ /(\d+) (.*)$rdo_mac/) {

if ($cmd eq "forceAdd" || $cmd eq 'removeMac') {

$start = $1;

$end = $start+1;

$system_removed .= "interface wiressless removed\n";

if ($total_lines =~ /\n[\s]$start (.*)\n $end/s) {

$system_removed .= "$start $1\n";

}elsif($total_lines =~ /\n $start (.*)/s){

$system_removed .= "$start $1\n";

}

$system_removed .= "EXEC: interface wireless access-list remove $start\n";

&execCmd($main_ssh,"interface wireless access-list remove $start");

if ($cmd eq 'forceAdd') {

&execCmd($main_ssh,"interface wireless access-list add mac-address=$rdo_mac comment=$client_id interface=all");

}

}else{

$system_output .= "fialed to add mikrotik: interface wireless reduplicate mac\n";

}

}else{

&execCmd($main_ssh,"interface wireless access-list add mac-address=$rdo_mac comment=$client_id interface=all");

}

This is a live system that is being worked on so caution needs to be taken. The hardest part will be trying to figure out where all this code is entwined and getting an idea of our basic system.

Please dont bid unless you are excellent in ajax/php/perl/mysql. We are looking for someone long term. Please make sure this is something you can handle. Thanks for looking!

Linux MySQL Perl PHP

Project ID: #7346896

About the project

19 proposals Remote project Active Apr 27, 2015

19 freelancers are bidding on average $17/hour for this job

freelance4hire80

hello, I'm familiar with ajax/php/perl/mysql, I'm interested to fix the perl script for you. Hope to discuss the project with you soon

$25 USD / hour
(71 Reviews)
6.9
BitLabs

Dear sir, I will complete your project asap, LIFETIME error free guarantee and provide ONE YEAR support... I have gone through your outsourced requirement "Fix of a broken perl script" and have analysed that I have More

$16 USD / hour
(134 Reviews)
6.8
techvolcano

Hi, We are experts in perl/php/python. Please provide access to your script. Ready to start now. Thanks.

$20 USD / hour
(280 Reviews)
6.8
cmax4u

Hello, looked your perl script. Looks like this is some mikrotik routers wifi access configuration command line tool. Interested. Have strong experience with perl scripts debug include reqular expressions. Familia More

$20 USD / hour
(131 Reviews)
6.7
idleswell

Hello, I am the premier Perl scripting expert on these freelancing sites. I must review your scripts (all the scripts) and understand what your issues are (more specific than "broken") before I can set any budget or More

$33 USD / hour
(209 Reviews)
6.3
PerlIsFun

1. Do you have any further details or hints about what the existent script doesn't do right? What are you expecting vs. what actually happens? Or a clue about since when the script doesn't work anymore? (I'm assum More

$25 USD / hour
(41 Reviews)
5.5
jinqiupeter

Hello, I am a professional perl/shell, c/c++ programmer with 7+ years experiences, i used perl in various fields and projects: oracle/sybasle/mysql database DBA, Continuous Integration system management, source code bu More

$16 USD / hour
(16 Reviews)
5.6
zkutch

Hello. More 20 years programming experience. I need more details to set real time and price and I suggest estimate whole job, not per hourly rate. Regards. ---------------------------------------------------------- More

$15 USD / hour
(38 Reviews)
5.4
unixadminpro

Hello. I have been doing system administration for more than 10 years. I have more 5+ experience with BASH/Perl programming. Let me kindly help you and you will be satisfied with my services.

$11 USD / hour
(42 Reviews)
4.6
syedi

hi, i am workin on perl/MySQL/html/css/javascript for last 6 years. I am very good at perl programming for web application. i looked at your script, i can find out what the system do , and can find broken part. More

$16 USD / hour
(26 Reviews)
4.8
vkoder

I can help you fix the code , I am good in most of the scripting languages , perl , python , shell , etc You can pay me once work has been finished .. I am looking for long term work if everything goes well fro More

$8 USD / hour
(12 Reviews)
3.6
razvand70

Hi, expert web/data scraper here with over 17 years experience in programming and RDBMS - please see my reviews. I'm using Perl from 1997. I'm able to finish fast.

$15 USD / hour
(3 Reviews)
3.5
rushinshah85

Hi, I am a full-time developer of Perl and CGI, and I work with most platforms (Linux, Solaris and Windows) and would like to help with your task. You can check my existing ratings on Freelancer and also see that More

$13 USD / hour
(9 Reviews)
3.6
Onlance

Sun, 22 Mar 2015 13:34:01 +0530 PHP/Ajax required? Database type and api? Error log available? Operating system? Live system details?

$15 USD / hour
(2 Reviews)
2.1
dinesh05sl

An accomplished software engineer having more than 7 Years of experience in Web Application Development & Designing. Proficiency in Java, J2EE platform and LAMP (PERL/CGI, PHP ) stack. Solid skills with Linux and Shell More

$11 USD / hour
(0 Reviews)
0.0
rachitdudhwewala

A proposal has not yet been provided

$11 USD / hour
(0 Reviews)
0.0
rameshrajagopal

I have excellent knowledge in PERL scripting. I have 14 years of PERL cum Unix Shell scripting product development/Enhancement/Testing experience. I have worked in production support environment where I have fixed h More

$22 USD / hour
(0 Reviews)
0.0