Fix of a broken perl script
$2-25 USD / hour
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!
Project ID: #7346896
About the project
19 freelancers are bidding on average $17/hour for this job
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
Hi, We are experts in perl/php/python. Please provide access to your script. Ready to start now. Thanks.
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
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.
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.
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
Sun, 22 Mar 2015 13:34:01 +0530 PHP/Ajax required? Database type and api? Error log available? Operating system? Live system details?
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
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