2,977 Topics

Member Avatar for
Member Avatar for john22

Hi, I am very new to Perl Scripting. I used Shell scripting before, but very little knowledge of Perl Scripting. I am given at task at my work: Here is info: I need to write a program that will listen to a port which will connect from Telnet. Also, the …

Member Avatar for richieking
0
466
Member Avatar for jamal.yaqub

I want to execute a command to query DHCP Server. For that purpose I have written some code in perl. Now when I execute that perl file in command prompt using c# I get following errer "The specified executable is not a valid Win32 application." I have pasted the code …

Member Avatar for =OTS=G-Man
0
229
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
157
Member Avatar for GRUM1

hi I'm new to this so please bare with me, i recently installed w7 ultimate on desktop with 1gig ram and 200 gig hdd. mother board is ABIT UL8 all ok till restart now all i get to is a screen that says do i want to boot up alternative …

Member Avatar for GRUM1
0
108
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
121
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 Ritesh_4

hello am currently facing a problem with the popup which appears when I hover on a link: (see 1st attachment) while it should have been as shown at design time (2nd attachment img) For those familiar with drupal, the part which is shown in 1st attachment is from the left …

Member Avatar for Ritesh_4
0
107
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
209
Member Avatar for rhonda2010

Hi! I am having trouble creating a hyperlink in my datagrid. What I need is to make two columns in the datagrid hyperlinks. For example, one column in the datagrid is for a report number. Another column is the path for pictures. So, I want the user to be able …

0
108
Member Avatar for jackparsana

hi, [code] public void bingdrid() { cmd.Connection = con; cmd.CommandText = "SELECT Customer.* , convert(varchar(50),StarteTime,103),convert(varchar(50),EndTime,103), CompanyMaster.Name, Country.CountryName, City.CityName, State.StateName " + "FROM Customer INNER JOIN "+ " CompanyMaster ON Customer.CompanyID = CompanyMaster.CompanyID INNER JOIN "+ " City ON Customer.CityID = City.CityID INNER JOIN "+ "Country ON Customer.CountryID = Country.CountryID INNER …

Member Avatar for jackparsana
0
159
Member Avatar for phpboy

Hello. I have a linux VPS which is running ubuntu 8.04 I want to execute some command to the terminal, for doing that i use system() or exec() function. The functions are working properly at localhost, but aren't working properly on the VPS. Let's say, i have a command :- …

Member Avatar for lipo
0
391
Member Avatar for sbrohee

Hi all, Does somebody know how to configure the PATH for the wwwrun apache user? I have two perl version installed (in /usr/bin/ and in /usr/local/bin) and apache continues to use the (/usr/bin version) which is outdated! Many thanks, Sylvain

Member Avatar for sbrohee
0
131
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
49
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
225
Member Avatar for AntonyLini

I am trying some Uiculture change functionality. In that I need the name and text of controls in a form to change the culture. I got some Demo project and it is in C#. I tried to make the same functionality with the C#.net and Also using VB.net. But the …

Member Avatar for AntonyLini
0
100
Member Avatar for AntonyLini

I am trying some Uiculture change functionality. In that I need the name and text of controls in a form to change the culture. I got some Demo project and it is in C#. I tried to make the same functionality with the C#.net and Also using VB.net. But the …

Member Avatar for AntonyLini
0
106
Member Avatar for pythonstarter

Is there an way to create matrix[a][b][c][d] in python? It seems that you can write this way in Perl but not Python? Thanks!

Member Avatar for TrustyTony
0
124
Member Avatar for padmaguruarts

Hi, My computer was switching on itself so I open my computer to see if there was any wire problem. I even removed the usb prots and when I reconnected it I connected it from the wrongside and again I connected them as it has to be. Now my both …

0
92
Member Avatar for admiraljayce

Hello everyone, My name is Roderick Forsythe. I've been on the forum for a while reading posts and I thought I should introduce myself. I am freelance IT solutions consultant based in Lexington KY. I've worked with a variety of programming languages, but Perl will always be my favorite. I'm …

Member Avatar for DianeBrandt
0
101
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
195
Member Avatar for bruno386

In xp, my Tascam US 122 usb audio interface works fine. On my windows 7 computer the device works, however when i restart/shutdown it hangs at the "shutting down" screen forever. If the usb cable is removed prior to initiating restart/shutdown then everything goes fine, the computer restarts as normal. …

Member Avatar for iqlas
0
105
Member Avatar for theoQ

First thread and only semi-tech savvy so please bear with me... My daughters HP Pavillion 6700 (6835nr) is past warranty and over a year old. It will not boot properly. I can access some set-up menus but everything I try does not allow me to start the Win Vista system …

Member Avatar for Mocha67
0
223
Member Avatar for PierreK

Hello all, Im working on my assignment that deals w/ the use of classes but I'm a bit stuck at the moment. The assignment overview is fairly simple: I just need to read in a .dat file which contains some elevation data into a 2d array and then use that …

0
53
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
243
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
172
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
39
Member Avatar for nonshatter

Hi all, I have a fairly simple question on something I know little about... Is there a PHP equivalent to the Perl POD? We're basically switching over from Perl to PHP but we are struggling to find a PHP-ish way of documenting from within our code. If anyone knows anything …

0
62
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
249
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
110
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
236
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
63
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
846
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
250
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
424
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
289
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
87
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
179
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
756
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
57
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
340
Member Avatar for erpradeep

I want to design a registration form where i will capture Name, email address and country. These data has to be fed into my database. From the database i want to send email to all listed mail addtess. I'm using linux hosting with fantastico,php and perl support . Can anyone …

0
38
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
153
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
113
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
153
Member Avatar for JayNak

Hi Everyone, Just joined. I'm from Central Wisconsin in the U.S. and I'm an IT professional with 27 years in the industry. I am primarily an Infrastructure person as I have supported AD, Networks, Win-PC/Servers, Tandems, VAX's, HP-Unix and AS/400s. Through it all I have had need to write code …

0
23
Member Avatar for Spakes
Member Avatar for mitchems
0
108
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
111

The End.