1,633 Topics
|
|
Please i need a solution for this, i want to use (PERL) to process a form instead of PHP, now my only problem is converting this LINE to (PERL) SCRIPT. <?php if(isset($_POST['comment'])) $comment = $_POST['comment']; ?> Thank you. |
|
**I am creating a webserver where I am using a tool called HMMer. When user uses this server they have the option to generate the output for the input either as tabular output or as text output.My problem is to show both output in the web page. I am doing … |
|
I want to install a perl module - "Test-NoWarnings-1.03". But while installing its giving a warning - "prerequisite module (Test-Tester-0.107) is not found". So I installed this prerequisite module "Test-Tester-0.107" and then I tried to install "Test-NoWarnings-1.03" .But still I am getting the same warning - "prerequisite module (Test-Tester-0.107) is … |
|
Guys I am writing a program in perl to loop through an array of integers read in from a file line by line, then notice patterns of numbers in each line and output triples(3 of the same numbers occuring consecutively), pairs(only two of the same numbers occuring consecutively) and straights … |
|
Hi I am a beginner programmer and I am really interested about learning new skills. So I need your help. I have a question regarding designing. I want to design a website where the user will be first shown couple of example page designs/template and then the user chooses one … |
|
I need to upload a text file to a website on Lunix server. I run the following Perl script lwpupload without error but the file was not uploaded. Do I need to pass the file name to the script fileupload.pl which is the url in lwpupload.pl and how ? Thank … |
|
I have a college student that works for me and I was trying to help him with his perl project but I couldn't figure out what was going on with it. He's got a txt file of numbers in rows. The numbers have to be sorted on a per row … |
|
Hi, I tried parsing a multi-record genbank file (from this site: http://biopython.org/DIST/docs/tutorial/examples/ls_orchid.gbk) using the code below. The code returned an error: readline() on unopened filehandle at parser.pl line 62. The code: #!/usr/local/bin/perl -w use strict; my $record; print "Please type in the name of a file\n"; my $file = <STDIN>; … |
|
Hi Experts, i have file called condition_file and the data in this file looks like.... condition_file * K 01 * J 02 * H 03 * I 04 I am using below code to read the file condition_file and place the values into an hash open F, "$condition_file" or die … |
|
Hello, I am new begginer to perl programming and I need help with a program. I have a text file that is based on the Gettysburg Address. I need to do the following: read the file, print out the file to the screen, sort the words in alphabetical order, print … |
|
Hey guys!I am new to this awesome forum. I have just finished c/c++ and have decided to move on to some scripting.I liked perl because it is very good for web apps.I personally dont like pyhton. So,can you guys suggest a good perl interpreter for windows7? Thanks |
|
I have a file containing data in form : R1 1987 or 1789 and 8585 (7654) R2 7698 or 8656 or 74746 Now I want my file in the form R1 1987 R1 1789 R1 8585 R1 7654 R2 7698 R2 8656 R2 74746 |
|
Hi to all PERL programmers, I have data like this with 6 columns LINES XY1 XY2 XY3 XY4 XY5 P1 Z/Z T/T -/- T/T T/T P2 A/A A/A G/G Z/Z T/T 1 G/G T/T G/G T/T G/G 2 T/T A/A C/C C/C T/T 3 T/T G/G T/T G/G T/T 4 … |
|
**test.html** <!DOCTYPE html> <html> <head> <title>Database test</title> <link rel="stylesheet" type="text/css" href="test.css"> <script> function validateForm(n,mes) { valid=true; var x=n.value; var errn="error_"+n.id; var email = document.getElementById('EMAIL').value; var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/; //alert(errn); if (x==null || x=="" || x.trim()=="") { document.getElementById(errn).innerHTML=mes; valid=false; } else { document.getElementById(errn).innerHTML=""; if(n.id == 'EMAIL') { if (!filter.test(email)) { document.getElementById(errn).innerHTML="Please … |
|
Hi Everyone, I have a technical question regarding how Perl scripts are run by Servers. In traditional programming a source file (containing human readable programming instructions) is first compiled (into binary data) before it can be run by a computer. Do Perl commands get compiled before being run, or does … |
|
I have a large data set (12,000 rows X 14 columns); the first 4 rows as below: x1 y1 0.02 NAN NAN NAN NAN NAN NAN 0.004 NAN NAN NAN NAN x2 y2 NAN 0.003 NAN 10 NAN 0.03 NAN 0.004 NAN NAN NAN NAN x3 y3 NAN NAN NAN … |
|
Hello to all, Maybe you can help me with this, I would like to know if it is possible with Perl read from binary and get a string pattern given by a regex? If possible, may you show me an example please. Thanks for any help. |
|
|
Hello Fan's, I (re)started a rather old Project of mine about a Year ago, but shortly before it's Version1.0, the Fellow ordered to implement a powerful indexing-system, dropped out and left me with a partly unfinished piece of work. For more than a decade, I have been designing several editions … |
$resFile = &getFileName($ARGV[0]); $fileType = &getFileType($ARGV[0]); $table = &getTableName($fileType); could u please tell me as to what these commands are doing? also , if I convert them to shell script,will thsese work ? there's a perl script that Im trying to convert to shell script. resfile=getfilename $1 filetype=getfiletype $1 table … |
|
Hi i wish to read and write all wanted text files in one directory into one single excelsheet which contains of multiple worksheet that represent each file. my current script only can write out into many excelsheet instead of combining all into one. Anybody has idea to improve my script … |
|
I am new to perl. Is there any way that perl can detect when a field is focused in an external program? The script would just need to know when a text input field was selected. Thanks, |
|
I have 2 huge txt files, the first column is common to both of them, the second file includes more records that the first one, I want to read the first column in the second file element by element and chech in the first column of the first file also … |
|
Hi, i have 2 pieces of code that i created, both of which do exactly the same thing and i am trying to benchmark them to see which is generally more efficient. As such i used the code suggested by perldoc in the following format: use Benchmark; $t0 = Benchmark->new; … |
|
i have got xampp1.6.8 when i run this program in localhost #!"C:\xampp\perl\bin\perl.exe" print "Content-type: text/html\n\n"; print '<html>'; print '<head>'; print '<meta name="author" content="Kay Vogelgesang">'; print '<link href="/xampp/xampp.css" rel="stylesheet" type="text/css">'; print '</head>'; print "<body> <p><h1>Sairam with MiniPerl</h1>"; print "CGI with MiniPerl is ready ...</body></html>"; it runs but when it contains perl scripts … |
|
if (defined($ARGV[0]) && $ARGV[0] ne "") { $f=""; #initialize $f $dir = $ARGV[0]; chomp($dir); #directory paths should use '' instead of '/' if ($dir =~ /^\w:\//) { $_ = $dir; s/\//\\/ig; $dir = $_; } #seperate filename from directory path if given if ($dir =~ /.*\.htm$|\.html$/i) { $f = substr($dir, … |
|
Hello! I am very new to perl and linux systems in general, so I am hoping that someone can help with this problem! I have a very large table of data (100 rows and between 300000 to 2 million columns) that looks like this: [ICODE]sitenames site1 site2 site3 site4 site5 … |
|
Hi I am new to perl programming and i have one query and a problem in perl hashing. I have two hashes containing Hash 1 Hash 2 a=> 1 1 => c1 b=> 2 2 => c2 c=> 1 3 => c3 d=> 1 e=> 2 f => 3 I … |
|
Dear Experts, Thanks for your time. I have got stuck on following problem. I have one file with five column name Chr, Pos Qial GT1 and GT2. In file Column 4 Gt1 is with 01 value only. I like to do comparision between col GT1 and col GT2. I like … |
|
Dear Experts, Thanks for your time. I have got stuck on following problem. I have one file with five column name Chr, Pos Qial GT1 and GT2. In file Column 4 Gt1 is with 01 value only. I like to do comparision between col GT1 and col GT2. I like … |
|
I wanted a graphical representation of the listing of my files and folders from the command line interface, just like what the CLI **tree** would give on linux system, I really don't like how the same command is displayed on windows. So, I called on ma 'Cherie' Perl do it … |
The End.