2,452 Topics
![]() | |
Hi, I have few sentences and here are those sentences. [code] Protein modeling studies reveal that the RG-rich region is part of a three to four strand antiparallel beta-sheet, which in other RNA binding protein functions as a platform for nucleic acid interactions. PUF proteins comprise a highly conserved family … | |
Hey everyone, I have a question about Perl CGI. I am creating a profile management system using Perl CGI for an assignment and am having a little trouble understanding to go about it. My code is written using subroutines and it interfaces with one another by calling a subroutine. A … | |
Hello all, I'm hoping someone here might be able to provide some assistance. Let me see if I can describe the general problem I have and perhaps someone can offer some ideas on the best way to approach solving it. I've got a text file that is basically a dump … | |
Can anyone help me translate this regex match in Perl to a VB.Net Regex match? Heres the perl regex: if ($line =~ /\\([\w\d\s\-]+?\.\w{3})\"\t\"/) { print "LINE: $1\n" } # regex match And heres what I have for the VB regex, but its currently not working: [code=VB] Dim fs As New … | |
I have two data sets Hdata.txt and Edata.txt that are tab delimited. Both data sets contain information about two groups of people. The first column in both data sets contains the last name of the individual. I wrote a perl program to make a comparison and print out the individuals … | |
Hi every body I have project is like book electronic . any words in this book I can translate it into more than one language . The idea behind this project is imagine page of any a book . assume this book wrote by English language , the page's consist … | |
I removed the CMOS battery trying to clear charge but now I get this message when I try to boot: CMOS Settings Wrong CMOS Checksum Bad CMOS Display Type Wrong Unlock Keyboard Press F1 to run Setup Press F2 to load default values and continue ================= This system was my … | |
I am trying to make a perl script that uses email. The forth line of my script is: [code]use Email::Valid; [/code] And I get this error:[code]Can't locate Email/Valid.pm in @INC (@INC contains: /opt/local/lib/perl5/5.10.0/darwin-2level /opt/local/lib/perl5/5.10.0 /opt/local/lib/perl5/site_perl/5.10.0/darwin-2level /opt/local/lib/perl5/site_perl/5.10.0 /opt/local/lib/perl5/vendor_perl/5.10.0/darwin-2level /opt/local/lib/perl5/vendor_perl/5.10.0 /opt/local/lib/perl5/vendor_perl .) at script.pl line 4. BEGIN failed--compilation aborted at script.pl line … | |
I'm having difficulty passing variables to threads. I've recently compiled 5.8.7 with threads enabled and I am using the new ithreads. When running code as follows: use Thread qw(async); async { while(1) { print 1; } }; while (1) { print 2; } The code works as expected and prints … | |
When a page is generated and has a form in it, can the form's action be to access a subroutine elsewhere in the script? | |
While executing a perl script, it showed the following errors. Can anybody tell me what's wrong with the bottom script? Thanks a lot. The server encountered an unexpected condition which prevented it from fulfilling the request. The script did not produce correct headers. It must at least print out a … | |
I'm trying to access a cgi script when a form is submitted. With that script, I want to display a page that basically says, "Is this info correct?" and show them what they entered. Then, if they hit "Yes", I want to send an email to myself with their info. … | |
Script to Remove duplicate lines from a text file. | |
For a challenge, we have to code a script that can pull information from a web page and then use it to automate an action on that site. What I've chosen to try and do is code an IPB Forum Advertiser. The process is easy, but I can't seem to … | |
Hello Friends, I am learning Perl now. I have a small query. I have a directory Z with file name Z.txt. I would like to copy this file Z.txt to 3 new dir with new filenames as follows dir 1 1.txt dir 2 2.txt dir 3 3.txt I would like … | |
Hi guys, I'm trying to make sense of some Perl code. I haven't actually programmed in Perl before but I do image the functions/methods are similar to other languages. Here's the code: [code=perl] function [dir, wspd] = conv_wind(uwind, vwind) usize = length(uwind); vsize = length(vwind); if(usize ~= vsize) dir = … | |
Good Day. My div will not position properly. Rather, it just sits in the top-left corner. I have tried z-index with no luck. The first Div represents the background for my page, and the div inside of that is supposed to be positioned inside the message box on the background. … | |
A few days ago my desktop links stopped working. First I thought it was a problem of a few programs like a pdf viewer and openoffice. Now most hyperlinks from my installed programs or utilities don't open. In Firefox the Java hyperlinks don't work either. For example, I received notice … | |
I'm trying to get an email generated when a form is processed. This is my first stab at such. It's not working for some reason. When I comment out the lines concerning the email generation, it works fine. The problem apparently lies somewhere in that section of the code, but … | |
Hi i'm trying to write a decryption code to process encrypted files. I have the error below whenever I try to initialise an cypher object of type Crypt::CBC and supplying 'Blowfish' as decryption algorithm, I get the following [QUOTE]C:\>decrypt.pl Couldn't load Crypt::Blowfish: Can't locate loadable object for module Crypt::Bl owfish … | |
Hi, I try to compare items in two different arrays. This loop works well in another program of mine. But not in the current program i'm working on. Weird.... The output of the program shows [ICODE] Nested quantifiers in regex; marked by <-- HERE........ [/ICODE] [CODE=PERL] for $3 (@obsolete_class_declare) { … | |
Hi I'm using the 2 pieces of code typed below to set the character set to utf8 (so that I can output russian characters on page, and then to output it on web pages. I have tried to set the character set to utf8 so that russian characters appear properly … | |
Hyperlink problem Posted: 07-09-2008 04:34 AM Hi, I'm working in a application C# and ASP.NET and in some moment we are creating few hyperlinks dinamically inside a panel: HyperLink hl; for (int i = 0; i <= XmlFile.ListLinks.Count - 1; i++) { hl = new HyperLink(); hl.Text = ListLinks[i][0]; //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! … | |
I'm still kinda new at this, so please bear with me, but I have tried debugging the program (perl -d) and using Carp as well. I just can't seem to isolate the problem. I'm using regex to search through a series of sequences read in from BioPerl (this is not … | |
Hi. This is a piece of code that I wrote for a one of my modules in Joomla 1.5, and im afraid im not skilled enough yet to do this procedure in the correct way.. Please can someone help me structure this code in the right way - the actual … | |
Hi, I need some help reformatting some data. I have a file with 6 fixed-width columns. The columns alternate between variables (width=25) and their corresponding values (width=15). There is a total of 125 variables and associated values. I only need 6 of these variable/value sets for future plotting purposes. What … | |
Hi there, I can't get this foreach loop to work. It says "Global symbol "$name" requires explicit package name at d:\domains\jacamar.co.uk\wwwroot\cgi-bin\Process_login.pl line 25." which is presumably because I haven't declared it as "my $name" somewhere but what do I declare it as - if I do "my $name = ""; … | |
Hi, I'm having problem with the usage of File::Find Module. What i'm trying to do is to browse through two directories and put all the files into two arrays respectively (each array for each dir). I just cant use the "find" twice... An error message will be shown: [icode] Use … | |
Hi, I'm trying to run the R language from within Perl. Is there a way to send some code to R, and then obtain the result or output of this code (which will run in R) back in Perl? Thanks! L. | |
Hi there, I'm trying to write a script that when a user clicks the "save" button it takes the content of a text box, calls another script which writes this to a file. The bit I can't get it to do is recognise that the "save" button has been clicked … | |
Hi All, I'm trying to pass a variable from a form to a perl script. It produces the error:- "CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers." when run it (call it from the click of a submit button on an html … | |
Analysing text files to obtain statistics on their content You are to write a Perl program that analyses text files to obtain statistics on their content. The program should operate as follows: 1) When run, the program should check if an argument has been provided. If not, the program should … | |
I have two computers set up at home. My Windows XP machine won't run CGI scripts for some reason. I'm trying to get my old Win2k machine to run it with IIS. How do I code the action line in an online form to run it on another machine on … | |
Hi, Does anyone know how to browse through a folder to find all the files contains in it? I know how to use the opendir function but: 1. I'm having problem with looping in which i can use to browse through ALL the folders and ALL the files contained in … | |
Hi, I'm a beginner for Perl. Just want to ask a few simple question: 1. Which Text Editor tools is the best for Perl? 2. Some recommend JEditor. I installed it but having problem with the Exuberant CTags. After i downloaded it I cant seem to install and apply it. … | |
Hi, I'm new to Perl, I installed ActivePerl in my machine and it is running properly. But when I'm trying to open a CGI using Tomcat I'm getting HTTP Status 404 error. I also did the following Altered Tomcat's C:\apache-tomcat-6.0.10\conf\web.xml file a) There's a CGIServlet that's commented out; so I … | |
I'm running windows xp and once i have logged in this message appears twice 'the application failed to initialize properly (0xc0000005)'. Then the desktop background image is all that can be seen and no icons/ menus i can access programs using the task manager i have used registry first aid … | |
Hi, I'm trying to write a perl program for a simple phone book. Means when the user enter a name, the phone book will search and display the name and the phone number of that person. Below is my code: [CODE=syntax] #!/usr/bin/perl; #playplay.pl use warnings; use strict; my %phonebook = … | |
Hi, I have problem running my cgi scripts under Apache Tomcat server. I am using Apache Tomcat/5.5.20 on WinXP. I followed the instruction tips I found out at [url]http://www.wellho.net/forum/Perl-Programming/Running-Perl-CGI-scripts[/url]... [url]http://www.ftponline.com/javapro/2003_03/online/perl_teden_03_18_03/p[/url]... but still I could not get the scripts running. I get HTTP status 404 error. The directory structure I have … | |
f Keyword is: Dell Desktop Computers Output Should be: "Dell" "Desktop" "Computers" "Dell Desktop" "Dell Computers" "Desktop Dell" "Desktop Computers" "Computers Dell" "Computers Desktop" "Dell Desktop Computers" "Dell Computers Desktop" "Desktop Dell Computers" "Desktop Computers Dell" "Computers Dell Desktop" "Computers Desktop Dell" | |
Hi there, I'm trying to open up a text file read info from it, alter it and write back the alterations when a user clicks on the save button, but I've hit two issues:- 1) I can't open the file for write access as I don't have permissions - can … | |
hi friends.............. i m new to perl n i hav a doubt. i hav a wordpad file which contains two fields.i hav to do look up in the file such tht whenever the first field is gettin as the output of some program i hav to do a look up … | |
I am trying to get my code for when it gets to the delete option i can type the name of the game it deletes it unfortunately it ony deletes when the number of the game is type not the name. Here is my code please help me i cant … | |
Hi, So my intention is to grab a relative html file and extract all relative links and then open those links to extract the relative links from those files and so on. Pretty much I need to build an html tree from an initial html file. I have written some … | |
Dear all , I am not very much efficient in perl . I used to write small script of code usually by using file handler . I have written a code for multplication of 2*3 matrix . I want to use this code efficiently so that it can be any … | |
Each time I start debugging my application in VB.net, I encounter this error. I couldn't go through the application any further. "The application failed to initialize properly (0xc0000005). Click on OK to terminate the application." :sad: What seems to be the problem? | |
Hi, I'm trying to develop a program that will take one HTML file and from there open all child windows, copy the text on that HTML page and put it all into a new text file. I would do this manually but I have 2200 HTML pages to go through. … | |
Hi, I have an html file and I have to extract information from its table. I am new to perl but I would give my approach below so I could get some help.. In the html file the table is like for example a 1 b 2 c 3 d … | |
I have a certain VBA file in which I want to change 2 things automatically (this file is automatically generated and I don't want to change it manually over and over again) Suppose the name of this file is BAS_IN.bas and the contents are: Function AsianOption(Optional SpotVector As Variant, _ … | |
Ive been working with perl for a while now and was wondering how and if I could get started in making my perl code do real life things like flip a switch. Any help is appreciated. |
The End.