User Profile
Collapse
-
thanx the @{} thing was what I was looking for -
problem with chomp
I'm having this weird problem with chomp
I want to get all the numbers out of a file that looks like this
1,2
4,3,2
and have the first number point to an array of the others in a hash
I'm almost able to do this except for the fact that a '\n'
get ad to the last number,
I'm trying to get rid of it but somehow chomp just won't work
code :
...Code:open (DataBase,"voorwaardelijk.txt");
-
a hash of arrays
Hi all,
I'm having a problem getting the length of an array that I've put in a
hash here's my code
now this looks fine to me except that ik keeps returning 0 instead of the true length of the array thats at the keyCode:$voorwaardehash{$key} = [@getallen]; @lengte = $voorwaardehash{$key}; print "--".$#lengte ."\n"; -
I have to chop because when perl somehow adds a character after the concatenation and that screws up my searching expression when I'm trying to find what i found here in text file...Leave a comment:
-
help with regular expressions
for a program i'm makin I need to be able to analyze lines like the following one
1 waarschijnlijk neiging tot suikerziekte ccaggcccac ctggagactc
and split it up in a part that containes the number
a part that containes the text
and as a last part the dna sequence ccaggcccac ctggagactc
now i can do that with the following code
...Code:# haal de ziekte codes er uit if($line
-
thanks for the reply
youre link to
http://serach.cpan.org/
doesn't seem to work so I don't know what you mean with the module thing.
It's not really homework, it's more of an exercise I was advised to try out
on.
this the code i've written to get the evil sequences out of the database,
I don't really have any usefull code yet on the analyzing section as Im still trying to figure out how to do it...Leave a comment:
-
Checking for bad dna sequences
hi all,
I have an assignment were I have to check multiple human dna sequences that look like this
ORIGIN
...Code:1 ttgctgcaga cgctcacccc agacactcac tgcaccggag tgagcgcgac catcatgtcc 61 atgctcgtgg tctttctctt gctgtggggt gtcacctggg gcccagtgac agaagcagcc 121 atattttatg agacgcagcc cagcctgtgg gcagagtccg aatcactgct gaaacccttg 181 gccaatgtga cgctgacgtg ccaggcccac ctggagactc cagacttcca gctgttcaag 241 aatggggtgg
No activity results to display
Show More
Leave a comment: