2,452 Topics

Member Avatar for
Member Avatar for Vandithar

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 …

Member Avatar for jephthah
0
269
Member Avatar for kenji

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 …

Member Avatar for Major Major
0
106
Member Avatar for cardician

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 …

Member Avatar for KevinADC
0
97
Member Avatar for cellus205

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 …

0
74
Member Avatar for SNN

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 …

Member Avatar for SNN
0
96
Member Avatar for kaloon

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 …

Member Avatar for nvmobius
0
130
Member Avatar for rmbeckman

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 …

Member Avatar for rmbeckman
0
659
Member Avatar for lil_panda

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 …

Member Avatar for KevinADC
0
94
Member Avatar for barteled

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 …

Member Avatar for KevinADC
0
109
Member Avatar for kahaj

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?

Member Avatar for KevinADC
0
87
Member Avatar for hhheng

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 …

Member Avatar for KevinADC
0
199
Member Avatar for kahaj

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. …

Member Avatar for kahaj
0
144
Member Avatar for bgbiplab
Member Avatar for w0h0m

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 …

Member Avatar for Major Major
0
152
Member Avatar for ramesh54

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 …

Member Avatar for dwks
0
97
Member Avatar for PoovenM

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 = …

Member Avatar for PoovenM
0
232
Member Avatar for karysma

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. …

Member Avatar for Troy III
0
122
Member Avatar for eclecticlife

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 …

0
25
Member Avatar for kahaj

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 …

Member Avatar for kahaj
0
109
Member Avatar for Didiera

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 …

Member Avatar for Didiera
0
757
Member Avatar for raul15791

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) { …

Member Avatar for raul15791
0
142
Member Avatar for flashyflashy

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 …

Member Avatar for martin5211
0
66
Member Avatar for jano_alex_es

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]; //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! …

0
44
Member Avatar for muppetjones

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 …

Member Avatar for KevinADC
0
139
Member Avatar for chriscapetown

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 …

Member Avatar for digital-ether
0
211
Member Avatar for lunabelle22a

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 …

Member Avatar for Salem
0
82
Member Avatar for Scruffstone

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 = ""; …

Member Avatar for KevinADC
0
118
Member Avatar for raul15791

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 …

Member Avatar for raul15791
0
154
Member Avatar for Aardvarc

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.

0
57
Member Avatar for Scruffstone

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 …

0
70
Member Avatar for Scruffstone

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 …

Member Avatar for Scruffstone
0
53
Member Avatar for Davo1977

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 …

Member Avatar for jephthah
0
157
Member Avatar for kahaj

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 …

Member Avatar for KevinADC
0
329
Member Avatar for raul15791

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 …

Member Avatar for raul15791
0
154
Member Avatar for raul15791

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. …

Member Avatar for KevinADC
0
204
Member Avatar for raj_3y2k

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 …

Member Avatar for katharnakh
0
191
Member Avatar for sphereof

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 …

Member Avatar for sphereof
0
93
Member Avatar for raul15791

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 = …

Member Avatar for KevinADC
0
192
Member Avatar for katharnakh

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 …

Member Avatar for KevinADC
0
1K
Member Avatar for sugaprem

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"

Member Avatar for KevinADC
0
46
Member Avatar for Scruffstone

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 …

Member Avatar for Scruffstone
0
234
Member Avatar for asda71

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 …

Member Avatar for thinkvlsi
0
73
Member Avatar for chickenlord500

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 …

Member Avatar for Radical Edward
0
85
Member Avatar for AppleTastic

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 …

0
68
Member Avatar for prashant.jnu

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 …

Member Avatar for KevinADC
0
149
Member Avatar for yajakin

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?

Member Avatar for Jx_Man
0
90
Member Avatar for AppleTastic

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. …

0
55
Member Avatar for adadadad

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 …

Member Avatar for katharnakh
0
121
Member Avatar for neverland

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, _ …

0
61
Member Avatar for rysin

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.

Member Avatar for ithelp
0
86

The End.