2,452 Topics
| |
Hi, I have a code in perl that does some mail things and I would like to translate it to perl can someone help me please? I dont know perl so i want it in python so i can edit it. here is the code: #!/usr/bin/perl -w # USAGE : … | |
Hi, I’m pulling out my hair getting Apache/Perl to work and would like some help with getting httpd.conf, Windows path, and other setting correct to run some Perl programs. I’ve set alias, Options, AddHandler, etc. but the simple program below gives permission errors. I’m running a Bitnami WampStack on XP … | |
Hi All, I need a perl script to generate the following Replace value in a column of one file with a value from second file File1 246 0.668 20.644 20.610 0.000 3 U 1.039e+03 0.000E+00 - 0 1673 1676 1663 1662 18 0.816 22.786 24.906 0.000 3 U 1.815e+03 0.000E+00 … | |
Hi all, I was just trying to write a simple prog in which i'm trying to add multiple components to a JPanel and inturn i'm adding that to a JScrollpane. Now the problem i'm facing is when i run the prog i can see the contents of the panel(not all) … | |
i have created many services, (i.e products in suitecrm) . there are some main services under which some sub services are there. i am mapping all the main services to one product (i.e product category in suitecrm). now on select of one particular product i need to dispaly all the … | |
I am retriving image from mysql database and want to hyperlink this processed image but not able to find solution for ($i = 0; $i < $rows; $i++) { $description = mysql_fetch_array($result); $img_str= base64_encode($description["nImage"]); echo '<a id="zoom" href="data:image/jpeg;base64,'.$img_str.'"><img src="data:image/jpeg;base64,'.$img_str.'" width="150" height="150" /></a>'; if($i%3 == 2) echo "</br>"; } | |
Hi, I have a 3-column data (below) from excel file. How can I write a perl code to sort all rows according to the first numeric number of a numeric interval and the word "complement" if they appear before the numeric interval as shown in the expeceted output below? Data: … | |
I have some basic logic here and im getting crazy how can do this. what I want is to submit my form when the hyperlink is being click. here sample code: <form id="myForm" action="for-filtering.php"> <input type="hidden" name="fname" value="<?php echo $account_fname; ?>"> <input type="submit" id="submit" style="display:none;"/> <a onclick='myFunction()' href='reponse-to-customer.php?id=".$cus_id."'>$firstname_email</a> </form> <script> … | |
I am trying to port some code running on a Linux machine to a Windows 8.1 machine running xampp. I am stumped as to why my cookies aren't getting stored and retrieved. Here's what I'm doing: #!\xampp\perl\bin\perl use CGI; use CGI::Session; my $cgi = new CGI; my $sid = $cgi->cookie("CGISESSID") … | |
I'm trying to get the text "Student 1, " to display in a text box but also have it as a link back to the student's page. This code displays only the url I want but not as a link and doesn't display "Student 1 " function getFavourite() { var … | |
I have a csv script that runs within a sequence on a set of gathered urls like so: threaded(urls, write_csv, num_threads=5). The script writes to the csv but seems to rewrite the first row for each url rather than writing to new rows for each subsequent url. I'm new to … | |
Dear All , I have a single file, which I need to rearange, The file format is, A1 ID* 3/2 A2 ID 3/3 A3 RM* 2/6 A1 RM 4/4 A2 D* 1/2 A5 D 5/3 A7 T 5/13 I need the output as this ID ID* RM RM* D D* … | |
I want perl scripts of matching the exact word between text file(.txt) and database(oracle/mysql)... suppose... Data in try.txt file, xyz abc and Data in oracle database is, qid column1 column2 1 xyz cde 2 ifg mno Here matching word is "xyz". If matching found, it will automatically delete the row … | |
Dear All, It would be great if someone would help me in rearranging the following file absed on the similarity between the column, My file looks like this, CD79B-GH1 ID* 3/2 CD79B-GH1 ID 3/3 CIRBP-C19orf24 RM 2/6 CIRBP-C19orf24 RM* 4/4 DCAKD-NCL RL 1/2 HMGB2-EHMT2 RL* 5/3 KANSL1-ARL17A IM 5/13 KANSL1-ARL17B … | |
Hello plz Give Me Ans How To Block libwww-perl.. | |
It's been a long while since I've been here. I am trying to use Win32 IEAutomation to automate IE to login to SharePoint, read some information, download some files and some other junk. I installed WIN32 IEAutomation. When I run the simple script: use Win32::IEAutomation; my $ie = Win32::IEAutomation->new( visible … | |
Dear All, I have two files file1 looks like this,the test file ENSG00000000003.10 0 ENSG00000000005.5 0 ENSG00000000419.8 392 ENSG00000000457.8 24 and the GTF file like this, chr1 HAVANA 11869 14412 . + . + . gene_id ENSG00000223972.4 transcript_id ENSG00000223972.4 gene_type pseudogene gene_status KNOWN gene_name DDX11L1 transcript_type pseudogene transcript_status KNOWN chr1 … | |
Hi all, I've started to get acquinted with Perl's HTML::Parser, which does a really good job at parsing html (duh ;-) But for the life of me, I can't get it to return the actual text from subroutine! I keep getting references to it :\ :\ use HTML::Parser; package MyParser; … | |
Hi guys, I just faced a silly but annoying problem.I was building a database application with vb.net and access. Things were going great but at the last moment,it started to not work properly.I didn't touch the db path as far as i know but i changed the system date as … | |
so recnetly I released a product of mine to a few close friends, one of these friends runs windows 8 and I coded my program in C# 2010, Windows 7..He gets an error saying improperly formatted, is the fix for that me upgrading to c# 2012 or in there a … | |
Dear All, I have two files first file looks like this, ENSG00000000003.10 0 and the second one like this, ENSG00000000460.12 24chr1 HAVANA 11869 14412 . + . + . gene_id "ENSG00000223972.4"; transcript_id "ENSG00000223972.4"; gene_type "pseudogene"; gene_status "KNOWN"; gene_name "DDX11L1"; transcript_type "pseudogene"; transcript_status "KNOWN"; As you see I nee dto comapre … | |
how do I call a .exe file from my perl script? | |
Hello, I have a file as attached. I need to print the lines and count after the pattern "floating" like below. Please help. FEATURE: 4 Line 1 4/17 8:01 Line 21 4/17 8:20 Line 21 4/17 8:50 Line 23 4/17 8:30 FEATURE1: 3 Line 1 4/17 8:45 Line 2 4/17 … | |
Hi folks, I've a problem when writing the contents of a file that was read using steam reader to the console window. It is only displaying part of the information that it should be showing. It should be displaying like this: http://i1370.photobucket.com/albums/ag266/Aaron_McCauley/1_zps4b8c3625.png But insted it displays like so (Notice the … | |
Did perl have any GUI.Because i am feeling diffculty in command line. | |
Hello Friends Please Give Me Answer | |
Hello Guys, My Codes to TextBox Validation Not Properly Working. I tried all as i can but still no happen. can you check my codes where the part is wrong? <!DOCTYPE html> <?php include('dbcon.php'); session_start(); ?> <HTML> <HEAD> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Online Evaluation</title> <!-- … | |
Hi I want to call the xml file and I want to change the tag name. here sample coding of get txt file. my $inputtxt=$ARGV[0]; open(TXT,"$inputtxt"); my $txtstr=join("",<TXT>); close TXT; $txtstr =~ s#\n\n#\n#sgi; # print $txtstr; open (OUT,">$inputtxt\.txt"); print OUT $txtstr; close (OUT); I need how to call xml file, … | |
Hello Everyone I am struck how to start script in my .txt file i have some of ips and i need to retive the ip and it need to convet into xml file in .txt file ips like his client1-10.1.1.1/24 clientgw1-10.1.1.2 server1-10.1.1.3/24 servergw1-10.1.1.4 client2-10.1.2.1/24 clientgw2-10.1.2.2 server2-10.1.2.3/24 servergw2-10.1.2.4 client3-10.1.3.1/24 clientg3w-10.1.3.2 server3-10.1.3.3/24 … | |
Dear All! I am facing a small issue in showing xml in a proper format. I am getting proper xml data from my webservice. but after receiving it browser is treating it as a text and showing all test in single line. I want to show my xml data same … |
The End.