1,633 Topics

Member Avatar for
Member Avatar for prashantkaushal

Hi there, yesterday I tried a very basic cgi program, which comes with xampp 1.7.1 in cgi-bin directory. but my browser said: "You don't have permission to access the requested object. It is either read-protected or not readable by the server." The perl code is : [CODE] #!"C:\xampp\perl\bin\perl.exe" print "Content-type: …

Member Avatar for Samuel_6
0
7K
Member Avatar for Anna123

Dear All, I want to know whether there is any perl script availabe to compare more than two files and print out the matching rows, for example if i have following files, file_1 TPT 0.0520852296 RP11 0.1062639955 AC01 1.4112745088 AC00 0.4992644913 file_2 LINC 0.1648703511 AC00 0.1632039268 CTD 4.3654577641 RP1 0.1357422856 …

Member Avatar for Anna123
0
1K
Member Avatar for Anna123

Dear All, I have two files where I need to map file_1 to file_2 based on the similarity of the 1st column from file_1 to 8th column to file_2 and print the similar rows with annotaions for that. I am able to achieve that with the following perl script. But …

Member Avatar for 2teez
0
429
Member Avatar for vivek.vivek

Hello, I have a file like below that contains datewise value for every hour for 2 locations. I need to add the value for the same hours for ServerA and ServerB. Using Hashes, I am able to add the server value per hour. But cannot pass it to a table. …

Member Avatar for 2teez
0
804
Member Avatar for sugumarclick

Hi Daniwebbers, can someone help me How to figure out the depth of a dynamic hash (hash of hashes) in perl. If it has consistent structure, we can traverse through while/foreach and find out the depth. Could anyone point me the right and best way to figure it out. my …

Member Avatar for Igor_3
0
744
Member Avatar for Da_Noles

Hi all, I am trying to create a script that I can run and edit a user's settings on their excel. IE: the script will edit the user's options by enabling macros and adding in the add-on. Anyone ever work on something like this?

0
90
Member Avatar for vikcyrao

i want to copy data from one VM(windows) to another VM(windows) using perl script. plesae guide

Member Avatar for laosland_1
0
105
Member Avatar for Wendy_3

I am having trouble with my code. The conversion for both Fahrenheit and Celsius will not display, and when I select "Celsius to Fahrenheit", it gives me the conversion for Fahrenheit to Celsius. I'm not sure what I'm doing wrong. I've already searched for help and have gotten nowhere. So …

Member Avatar for rch1231
0
339
Member Avatar for showman13

Good Morning all, Hopefully someone can head me in the right direction. I know nothing about perl or cgi but have a script that I purchased and had modified by a programmer half way around the world. He uploaded it to my development domain and the script works just fine... …

Member Avatar for 2teez
0
323
Member Avatar for Anna123

Dear All, Can aynyone help me with a script which could scan the regions of one file to the regions with second file, for example file 1 looks like this, chr5 88013976 88018740 file 2 : chr5 88013975 88018742 ENST00000340208.5 chr5 88024310 88024445 ENST00000340208.5 chr5 88025035 88025164 ENST00000340208.5 I want …

Member Avatar for Anna123
0
149
Member Avatar for balmurali

Take pattern from one file and search for that pattern in second file if doesnt present copy that pattern into the another file

Member Avatar for 2teez
0
125
Member Avatar for Amaina

I'm trying to parse a few references from a file and load them to mysql table but keep on getting this error everytim,e i run the script: DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the …

Member Avatar for DaveAmour
0
159
Member Avatar for dm198180

Plz can anyone help me with a program below: Need to check how much money the company is paying to 'smart employee' department wise. Smart means : attendence should be good and rating should be avergae and good compute salary such that salary is increasd bonus wise for each employee. …

Member Avatar for 2teez
0
115
Member Avatar for sathish_nadu

i tried to upload some data from csv to MySql data base. but it not working someone help me on this. the below one is my code #!/usr/bin/perl -w use DBI; use strict; use TEXT::CSV; use warnings; my $driver = "mysql"; my $database = "test"; my $host = "localhost" my …

Member Avatar for class11a
0
201
Member Avatar for Jfredry

HI, I am looking for perl script to copy a file froms source to destination(partition) Key: 1.Having Docs files in Folder C:/ as a source and copy the Folder to destionation user preferred. Could somebody help me with this scenario. Reagards, John

Member Avatar for 2teez
-2
82
Member Avatar for juniper.root

I understand its usually a header has been already sent type scenario but I'm starting to lose it. I have no idea how to sniff out where I mucked up in my code. I tried using a print sub routine that prints both to stdout and to a file. I …

Member Avatar for 2teez
0
227
Member Avatar for anglaissam

Using WWW::Mechanize::Firefox there exists the ability for a PERL script to grab the URL of the active firefox tab amongst other abilities. I want to be able to do the same for Google chrome. Does anyone know of a way to obtain the Chrome active tab URL through PERL? Thanks …

Member Avatar for 2teez
0
133
Member Avatar for Alan_6

Hi ! I have the Idea to make a perl script (better than in bash) to make some configuration on linux. I think to have some files like param.txt with some lines like: param_one = ZZZ XX CCCC VV param_two = ZZZZZZZZZ param_three = X so need to check if …

Member Avatar for Taywin
0
149
Member Avatar for rama.krishna.9003

I have three files, each one containing 5 columns. Every line begins with a name (column 1) and it has a range associated in column 4 (beginning range) and column 5 (end of range) File:A A5WV02_DANRE 35.64 188 3030 3217 A5WV02_DANRE 34.24 184 3934 4117 A5WV02_DANRE 33.68 193 2707 2898 …

Member Avatar for 2teez
0
168
Member Avatar for premkiran

Hi all, I'm new in PERL, and trying to set up code that will allow me to create a new Table (Table 2) from Table 1: Table 1 No. Time Person 1 9:42 AM A 2 9:42 AM B 3 9:42 AM A 4 9:42 AM C 5 9:42 AM …

Member Avatar for 2teez
0
1K
Member Avatar for Ghazal_1

can anyone help me to Write a script that can find gene palindromes, including reverse-complement non-repeating palindromes with an intervening spacer region.

Member Avatar for 2teez
0
130
Member Avatar for nyquil
Member Avatar for Linda_4

Hi - Not sure If I posted this in the proper forum - I installed upload-lite script here - http://www.perlscriptsjavascripts.com/perl/upload_lite/users_guide.html and it is great for the simple use I want. I'd like to add the submitters name and email address to the form. Could someone please send me the code …

0
90
Member Avatar for dinkar_1

I have a multiselect dropdown which has 8 colors in a hash %all_colors: my %all_colors = ( 1 => 'Red', 2 => 'Yellow', 3 => 'Orange', 4 => 'Blue', 5 => 'Black', 6 => 'Brown', 7 => 'Green', 8 => 'White', ); I have put it in a dropdown like …

0
112
Member Avatar for vivek.vivek

Hi, My file has date in "14-oct-2014" format. I want to compare this date with current date and print result if the difference is less than or equal to 7 days. Example: Say today is 10-oct-2014 and file contains 14-oct-2014. The difference between these days is 4. So the script …

Member Avatar for vivek.vivek
0
112
Member Avatar for muskovitz

i want to make a time capturing limit of airodump-ng using the timeout command of UNIX but it just gave a empty terminal screen! Heres the simple perl script #!/usr/bin/perl use strict; use warnings; my $interface="eth1"; my $moninterface="prism0"; open(FILE, ">result.txt") or die "Failed to create a file!\n"; print FILE `iwlist …

Member Avatar for 2teez
0
294
Member Avatar for Anirudh_1

I have two text files a.txt that contains data like abcd = 4.0 def =2.0 jkl= 8.0 and b.txt which has similar data abcd = 6.0 dfg = 2.0 jkl = 8.0 i want two compare and print the following points in a new text file 1.the names first, if …

Member Avatar for raicabogdan
0
301
Member Avatar for red711

Hi, I'm new to perl, and need help about comparing 2 columns within 2 different .tsv files. I have search through the forum for some similar case of mine, such as [url]http://www.daniweb.com/software-development/perl/threads/335711[/url], [url]http://www.daniweb.com/software-development/perl/threads/336421[/url] and [url]http://www.daniweb.com/software-development/perl/threads/311399[/url] , I have tried to modified them according to my needs but somehow the final …

Member Avatar for 2teez
1
546
Member Avatar for myk45

Hello All, I want to convert a markdown file to its equivalent HTML programatically and Iam looking for a way to do this properly. I would need a script that converts the markdown file into proper html.I'am aware of Doxygen which generates these .md files to hmtl just with a …

Member Avatar for pritaeas
0
205
Member Avatar for Jack_9

I'm starting perl and I run windows so I would like to know what is a good perl IDE for windows. Any advice is appreciated.

Member Avatar for 2teez
0
95

The End.