Hi all, Anyone help-me ? I need to do comparing two array. So, I have two array with many difference names and I would like to compare two and write the...
HI here's a very simple solution my @arr1 = 0 .. 10; my @arr2 = 0 .. 10; my $comp = Array::Compare->new; if ($comp->compare(\@arr1, \@arr2) { print "Arrays are...
Dear my friends... Anybody would be so kind telling me what is similar in perl/tk to arrange the location of a form written in perl/tk? I want a nice look for...
Hi Group, I am new to Perl. I am trying to write a program that reads in a file and then checks the line length. based on the lenght, data is written to 1 of...
... $inputfile contains the first line of Trade.txt (because you had evaluated the angle operator in scalar context. $length contains therefore the length of...
Please help, Another newbie question. I am trying to figure out how to search though a file that i've opened for a 3 different string of characters. once the...
Hi all, I've encountered a porblem I don't understand. Below is a small chunk of cgi code that reads usernames and passwords from a file. Despite the fact I...
... Thanks for the wake up call. I've blindly used chomp for so long I don't remeber wtf it did. It also helps if I read the sentence about chomp and hashes. I...
Hai friends, I am a new user to this group.I am an Engineering student.I do want some help regarding my project.Can anyone tell me how to remove multiple blank...
... s/\s+/\s/g This assumes that a space is either the space character or a tab. If you want to restrict it only to literal spaces, use s/ +/ /g instead. ... ...
... There is a funny beast called the 'range operator', written as two dots (..), which seems to do exactly what you want. Basically, you have something like...
Hi all Cognizant is recruiting Yet again. The exam is on 21st of FEB 2004. For full information please go to the site. And you may forward it to your friends...
Hi all Cognizant is recruiting Yet again. The exam is on 21st of FEB 2004. For full information please go to the site. And you may forward it to your friends...
hello friends, can anyone tell me how to read from a file in word by word.. Is there any function to remove trailing blank spaces and new line character from a...
The BG Cipher Contest I is open. Decipher the code and win prizes. ELIGIBILITY BG Decipher Contest I (the "Contest") is open to any person who is at least 13...
The BG Cipher Contest I is open. Decipher the code and win prizes. ELIGIBILITY BG Decipher Contest I (the "Contest") is open to any person who is at least 13...
hai lakshmi u can remove multiple spaces by induction. suppose that there are n spaces assume that n spaces = 1 sapce hence proved don't work this hard take...
... I would do this with s/ *$// ... I guess you mean: *trailing* new line characters. Right? Then read the description of chomp. If you know that the number...
hello friends, how to run perltk programs in linux and in windows environment?what's the command to run the example programmes available in widget?? i...
... In linux you need to add perl/tk to perl. On the target machine SU to root type perl -MCPAN -e 'shell' then you may have a bit if config to do if its the ...
hai, i've problem running tk.. if i download a tk program from net and run it,it's working.. but if i try to run the example programs in widget,it's not...
Hello Group, Is is possible to create a 3 Dimensional array from 3 different arrays? Below is one of the ways I tried to code. If is is possible plese tell me...
hai, Our project is "Code coverage Analysis of ultra sparc III microprocessor".Our program will check for the coverage of instruction and registers for the...