quite interesting chunk of code - but what the hell does select does here?
Yeah - I rtfm - but didn't understand it - maybe one could explain it in
more simple words?
Jane
Kevin Old wrote:
What I wanted to do was to make each number appear in sequence like you see
in a countdown (or up,
Hi everybody!
I got the mistakes - no bugs but simple human errors ;-)
My program wasn't working correctly, because two hashes wasn't filled
properly and the reason for the miraculous different output of the
values of that hash was a simple typo - I typed once hash_fasta1 and
the second time
;}
I only get the value corresponding to $hash{$array[3]}.
Jane
James Edward Gray II wrote:
On Nov 11, 2003, at 1:47 PM, Christiane Nerz wrote:
Hi!
If I want to print out every value of a hash, what's wrong with doing
it like that:
foreach (keys %hash) {
print $hash{$_};
print \n;}
Why
jepp - all four are there..
I really don't understand it.
thx so far - I have to finish for today - my little baby-son is crying :-(
Jane
...
As near as I can tell, the above two chunks of code have identical
effects. If you put the first chunk in the program EXACTLY where the
foreach() loop
oh nice - like that I get all keys and the corresponding values printed..
But I only wanted to get all values :-)
Jane
Andrew Gaffney wrote:
James Edward Gray II wrote:
On Nov 11, 2003, at 1:47 PM, Christiane Nerz wrote:
Hi!
If I want to print out every value of a hash, what's wrong with doing
only get the value corresponding to $hash{$array[3]}.
James Edward Gray II wrote:
If you would like to post more of your code, I would be happy to take a
look at it.
James
On Nov 11, 2003, at 2:27 PM, Christiane Nerz wrote:
jepp - all four are there..
I really don't understand it.
thx so far - I
Hi!
If I want to print out every value of a hash, what's wrong with doing it
like that:
foreach (keys %hash) {
print $hash{$_};
print \n;}
Why do I only get one value???
Jane
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi everybody!
Two questions:
I've got a test-file and want to add something to some lines, while
reading it out.
I tried the following code:
while (TXTFILE) {
if (/pattern/) {
#$line = $_ . $something;
#push (@new_array, $line);
}
else {
#$line = $_;
SORRY! copy-and-paste-error...I tried it without the ### ;-)
and tried too the print-statement-thing.
Seems the regex is wrong, but why?
Jane
Stephen Hardisty wrote:
Two questions:
I've got a test-file and want to add something to some lines, while
reading it out.
I tried the following
Hi!
How do I read data out of a table-file in an array-of-arrays?
Problem: I have to compare two tables with pairs of start-stop-Positions.
I want to find out, which pair of Start-Stop-Position in table_1 is
entirely within the range marked by a pair of start-stop-positions of
the second
... from two text files.
Output of a pattern-searching-program and data out of a DB (genebank).
No prob to read in those data in a textfile too.
Stephen Hardisty wrote:
How do I read data out of a table-file in an array-of-arrays?
Problem: I have to compare two tables with pairs of
Hi all!
I like to read several rows out of two different table-files and put
them successively in a new file by:
@ergebnis_alles[$#ergebnis_alles+1] = @whole_data1[$l] . $whole_data2[$m];
Anything works fine, except that I can't delete the ending newline in
the lines in the first tables. So
Oh-oh - there was a mistake - I tried chomp, not chmod..
How do I use chomp correctly? I have an array of strings, want to cut
off the last \n in each line and use the rest of the line. (concatenate
it to another string)
Jane
Hi all!
I like to read several rows out of two different table-files
Hi all!
Do you know if there ist a perl implementation for suffix-trees and the ukkonen
algorithm?
Jane
Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr!
Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13
14 matches
Mail list logo