2,452 Topics

Member Avatar for
Member Avatar for overlook

Hi, I have to make a script with parameter that limits the character. This is the code snippet So script.pl -teacher [string] where teacher should only be allowed of [A-Za-z0-9_-]# , if not, print error message which is "error". Other thing is that, the parameter -teacher have to follow the …

Member Avatar for overlook
0
169
Member Avatar for vetrmj

Hey all, I am a beginner for Perl and looking for some kind of project ideas that can be solved easily using perl. It could be anything. from daily life to bio informatics!!!!! Please help...My mind is blank!!!! Thanks

0
36
Member Avatar for reza.adinata

Hi I trying to create a script for creating a simple folder and subfolder. So basically i am in directory \home\ and want to create folder1, and afterwards subfolder 'folder2'. so at the end, I am expecting to have a simple \home\folder1\folder2. This is what I did [CODE]#!/usr/bin/perl -w use …

Member Avatar for reza.adinata
0
240
Member Avatar for gpsmith1

I have a Perl parsing problem. I have to find a keyvalue for a KEYWORD KEYNAME. I have a file containing KEYWORD KEYNAME on a line followed by keyvalue on a subsequent line An added problem is that the file allows perl & shell type comments using # – e.g. …

Member Avatar for d5e5
0
109
Member Avatar for koduruabhinav

Hi, I have two files and each consists of modules and in turn modules consists of some verilog data and instances.i have to search for module name in the two files and comapare the contents of the modules in the two files. i have code it does module search,extract the …

Member Avatar for koduruabhinav
0
234
Member Avatar for amarnathnn2713

Hai Friends, I am new to perl programming. I don't know how much it is goood i mean how it's scope.. Any one can say which are the companies using perl..

-1
61
Member Avatar for amarnathnn2713

Hai Friends, I am very new to perl Scripting... but my task is somewhat tricky.. Actually i want to connect remote machine from local.. I think it is possible using [B][COLOR="Green"]Net-SSH-Perl [/COLOR][/B]but i unable to install in windows platform. if anybody have answer? Please give some idea about connecting remote …

Member Avatar for brandonrunyon
0
836
Member Avatar for Tekkno

Hello, I have a div (#disclaimer) that has the css property of "display:none." The following jquery script is supposed to show it when the #test select option is clicked. The #quest,#comp,and #other divs are supposed to hide it again. It works fine in FF but does not work in IE. …

Member Avatar for fobos
0
241
Member Avatar for Inês

Hello! I need help whith perl. I have 2 files, i whant to open them compare une colun and if they iqual i whant to write at the 1ª file some coluns of the secund file. Exemple: File 1 2; apartamento; T2; manuel; 120.000€; Activo 4; moradia; V4;José; 250.000€; Suspenso …

Member Avatar for mitchems
0
423
Member Avatar for ryan461

The idea here is I want the initial hash to be run into the child function, have changes made, send the changes back to the parent. Then send the changed hash into the child for more changes to take place. I've been making a poker program to help me learn, …

Member Avatar for ryan461
0
287
Member Avatar for alex8206

Hi, Im trying to create three pages for Inserting, deleting or viewing database contents. On my main or home page the database contents are shown. I want to create a "Delete" hyperlink in the last column of every row so that the specific record is deleted on clicking that. I …

Member Avatar for alex8206
0
1K
Member Avatar for ryan461

I'm learning perl, been reading some pdfs and such which doesnt really help sink the info. So i decided to do what I did to help me with python, build something of a poker game. The cards are successfully dealt, now im working on splitting up the card terms to …

Member Avatar for mitchems
0
82
Member Avatar for uan_Blr

Hi PERL-fans, I have a problem with an array while coding a histogram: The data is in an array [code=perl]@data[/code] I initialise my histogram array like: [code=perl]@histo=();[/code] Then, I loop over the datapoints and at each point compute in which bin that point would be: [code=perl] for(my $i=0; $i<scalar(@data); $i++){ …

Member Avatar for uan_Blr
0
177
Member Avatar for ryan461

Im following a perl book, and one exercise has you enter a number, sum them up until you type 999(the exit code). Their example works, but when I try using use strict, I cant figure out how to get the variable in the while loop to go global Here's what …

Member Avatar for ryan461
0
750
Member Avatar for mayursharma

hello i m new to drupal. i hav learn how to configure themes into it. Every thing was perfect but.. ....dont knw what happen suddenly.....show of my page has gone and it is coming in linear text form...no pitchure is comming,no graphics.. I dont understand what does going wrong...plezz suggest …

0
55
Member Avatar for new SE

Hi all, i need some help to carry the data to another page..this is my code to carry the id [CODE] <ASP:HYPERLINK ID="lnkDetails" RUNAT="server" NAVIGATEURL='<%#"Company_vd.aspx?comp_code=" + DataBinder.Eval(Container.DataItem,"CmpCode")%>' TEXT="Details"></ASP:HYPERLINK> [/CODE] it works but i dont know how to use the comp_code on the other page to retrieve other data based on …

Member Avatar for new SE
0
333
Member Avatar for hassancool

Hi there...... I have received a domain from a customer which is showing me very strange things..... When I tried to login via FTP it showed me empty directory.... The server is apache and when I try to login via cpanel it gives me this error "Not Found The requested …

Member Avatar for Excizted
0
148
Member Avatar for Kieran Y5

Hi, I am working on a way to draw a graph with AS3. I have just put my code into different classes. I have a function that draws the graph axis but it doesn't seem to work properly. You will see what I mean in a min. [CODE] public function …

0
112
Member Avatar for ryan461

I'm new to perl, some experience in python. I've been tasked to create a script to remove comments in files. So basically id like to remove <!-- comment here --> from every line that has it in an assortment of files in a directory tree. Some comments may span multiple …

Member Avatar for ryan461
0
149
Member Avatar for Spakes
Member Avatar for mitchems
0
106
Member Avatar for koduruabhinav

we get module1 and module 2 from the two files which i have uploaded. But actually the problem is i was not listing differences correctly i have uploade the output image also but actually that number of differences are not there. only 6 to 8 diifferences are there so how …

Member Avatar for sandy40
-1
110
Member Avatar for Ludington

Hopefully someone can help me with my CD drive. It's not reading some of the CDs I put into it. My CD writer / DVD ROM combo drive is reading and running CD-RW disks but not reading normal CD-R disks. It also varies with programs & games. My drive will …

Member Avatar for sejhone
0
205
Member Avatar for koduruabhinav

Hello, please try to help the fresher i was a beginner in perl .but gave me critical work. my task looks simple!But not.i was trying for 4days. i have two text files each contain code in modules. my task i have to take module name from the user and search …

Member Avatar for koduruabhinav
0
299
Member Avatar for ajay_p5

Hi This may seem pity stupid but I am somehow stuck in this: I have got a file containing years like this : 1913 1913 1917 1917 1917 1917 1917 1955 1955 now this is just a part of a file containing almost 50000 years. What I want to do …

Member Avatar for ajay_p5
0
103
Member Avatar for turpentyne

I am frustrated to no end. I absolutely cannot find the solution to paginating a search result that pulls info from two tables. Everything seems fine at the start. I get a page with the correct number of results (2) and the correct number of page links on the bottom …

Member Avatar for hielo
0
117
Member Avatar for koduruabhinav

Hello, please try to help this fresher i was a beginner in perl .but my TL gave me critical work. my task looks simple!But not.i was trying for 4days. i have two text files each contain code in modules. my task i have to take module name from the user …

0
73
Member Avatar for thilinam

Hi all, I'm using netbeans 1.6 ide to develop my project. When I build my project, netbeans create .jar file. but when I run it it also runs but not like When I run it from ide's run button. Some parts of application do not work example a button click …

Member Avatar for NormR1
0
75
Member Avatar for Prakash_8111
Member Avatar for mitchems
-1
86
Member Avatar for anrima

Hello, I am trying to create a script that will compare two identical pieces of hardwares configuration files (that are added via a GUI provided as part of the device) and to synchronize the two devices configurations. I currently have a shell script that connects to and downloads the configuration …

Member Avatar for anrima
0
148
Member Avatar for Roger101

I have a series of data (x,y) as below. I want to use this data to create a bell curve (normal distribution) with perl. How can I do this? x y 1 2 2 50 3 40 4 300 5 70 6 80 7 8 8 10 9 25 10 …

Member Avatar for d5e5
0
983

The End.