1,633 Topics

Member Avatar for
Member Avatar for nuttyniall

Hi I am trying to write a simplie login perl script all is working apart from the final if statement. if the username and password match the data stored in the txt file $auth returns true which works then a second if checks if £name is != to "admin" if …

Member Avatar for richieking
0
154
Member Avatar for ghosh22

Hii everybody..I have posted a similar question before..but it is slightly changed and I am not finding how to solve it..Please help.. I have a text file with some compound names..now I want a perl program which will scan the whole text file and then if for any entry, C>10 …

Member Avatar for richieking
0
118
Member Avatar for nuwan

Dear All I`m very new to Perl programming and using Perl 5.8.0 on Linux environment. Can somebody post a reply explaining how to call an event(ex-a simple subroutine) from perl after a certain time delay and repeat again if needed. I really appreciate if somebody can post a sample code …

Member Avatar for richieking
0
2K
Member Avatar for Renuka Devi G

Hello, I am learning perl programming but my problem is iam unable to find how the functions, commands,loops & conditions are working in a programme can anyone help me how to write a programme? what is the logic?

Member Avatar for d5e5
0
205
Member Avatar for amittal2089

Hi After posting the form i dont see anything in STDIN however if i submit the form as GET request then i can see the value in $ENV{QUERY_STRING}. I will really appreciate if anybody can help me in this issue. Thanks Arun Mittal

Member Avatar for richieking
0
46
Member Avatar for Mahaa

Hi all, I am pretty new to this PERL programming. I have heard that anything could be done with PERL's magic... So out of my own interest, I have started learning perl language, to ease my project works(sort of Automation stuffs). I have PERL V5.10.1 installed in my PC,and am …

Member Avatar for richieking
0
2K
Member Avatar for dotmandd

hello everyone, please i wrote a perl script to run a .bat file using the syntax system 'file.bat'. this works fine when i run it from the command prompt. but i tried saving the script as .cgi and put it inside the cgi-bin so that i can call it from …

Member Avatar for richieking
0
2K
Member Avatar for Jalwes

We were assigned a game of hangman for our Perl class. In this Perl script, we must use an html page to get the user's name. I feel like I'm getting awfully close, but I can't quite seem to get the userName value to print after each time the user …

Member Avatar for Jalwes
0
223
Member Avatar for BastienP

Hello there, I'm currently using a perl scrip that checks if every line in a file 1.csv is present in a file named 2.csv, and writes only the different lines. The output is a file called out.csv. What I'm trying to do is to write only the most recent lines …

Member Avatar for d5e5
0
188
Member Avatar for anraevlus18

Hi, In my perl script p1 i am calling another script p2 which logs into a remote machine and executes a script p3. The $file defined in p3 does not exist. So copy operation in p3 will error out with error code 256 and p3 stops execution with exit staus …

Member Avatar for mitchems
0
240
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
168
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
238
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
108
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
229
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
60
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
812
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
285
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
81
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
176
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
744
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
139
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 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
270
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 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 Prakash_8111
Member Avatar for mitchems
-1
84

The End.