I have the following code that works, but I don't understand two things: 1. Why does the first line of the code have to be an empty hash? It works, but if...
... I tried your code on my local machine and the program works fine with this line commented out. What led you to believe it wouldn't? ... $name_found is...
... A lot depends on what you mean by "it didn't work"? Exactly how did it fail? Be precise. Here's my test (which works fine on Activestate perl version...
... Asking questions (and answering questions) is the purpose of this list. ... In the perl documentation there are 9 perl FAQ files labeled perlfaq1 through...
... works, but if this is right, I don't understand why it needs to be where it is. Line 3 - %hash = (); It's an old 'cargo cult' thing - or belts/suspenders,...
I'm trying to install Perl ssh2 and it requires this library to be installed to work. But I've tried all I can thing of to get it to work. I've Goggled the...
how i write the main progrom to to identify all restriction enzyme recognition sites of one or more enzymes from a fasta file compare with the bionet...
I process CSV a lot using my traditional split mechanism. Now i realised two modules are present for processing CSV. To filter some data from CSV file.. what...
From: YogS <mail2yogs@...> ... There's also Text::CSV_XS. Which one is better depends on your needs. If you just need to read and process the whole CSV,...
Enter your vote today! A new poll has been created for the perl-beginner group: What type of applications are you using Perl for? o Web Application o System...
perl-beginner@yahoogr...
Dec 31, 2008 2:17 pm
26506
How to debug the perl program like shell script option "set -x"? I am facing one problem in perl program where this perl program gets call from one shell...
Friend , set -x option wil not work for perl script. if you want to debug perl script i think you need to put -d option in script which might help in your case...
Hi I am having problems going through the hash reference and outputting the result. Can someone tell me how to traverse thorugh the output of "p4 info" using ...
Couple of ways --- 1. my @p4=@$p4_info ; 2. my @p4=@{$p4->Run( "info" )}; after that you can easily process @p4 array .... ~vidhut ... From: saurabh talwar...
From: "saurabh talwar" <talwar.saurabh@...> ... use Data::Dumper; print Dumper($p4_info); Once you know what's inside the $p4_info you can acces the...
Hello Jenda, Thanks for your response. I am comfortable with SQL so I'll try that option too... -- YogS ... [Non-text portions of this message have been...
I'm working with the Net::Telnet module and having trouble with the prompt. I have two sets of network switches and the respond to two very slight differences...
I'm using Perls Net::Telnet module to connect to Cisco switches. After I do several show commands and put the output in a file I go back and pull the...
Hi I have the following two scripts test.cgi & displaytest.cgi test.cgi is intended to redirect itself to displaytest.cgi and send some arguments. The problem...
... hooyar66> The problem I am having is that I can never get the arguments hooyar66> successfully sent! hooyar66> Redirect without arguments works fine - but...
... approached ... 777 0095 ... discussion ... That's fantastic - many thanks Randal. ... "authority" is the word - the other sources I used didn't state a ...
... yup, as advertised. ... yup, I don't see the redirect method accepting an hashref as a arg in the docs. ... yup, again, I don't see the redirect method...
I'm working with a hash of hashes and I'm testing for the sccond key, but it doesn't seem to work. if (exists $RHASH->{key1}->{key2}) { do this... } else { No...
Hello, See these, http://perldoc.perl.org/functions/exists.html http://www.perl.com/doc/manual/html/pod/perlfunc/exists.html they both mention that, the...
... long as the final operation is a hash or array key lookup or subroutine name: if (exists $ref->{A}->{B}->{$key}) { } ... $ref->{A}->{B}->[$ix]) { } ...