Re: HOA idiocy.

2005-10-11 Thread Walter Copenhaver
THIS is what I have this works I don really know if this is what you where looking for you can access elements such I did in the print statement it peints "c" use strict; use warnings; my %HOA = ( "one" => ['a','b','c'], "two" => ['c','z','s'], ); print "$HOA{one}[2]\n"; On 10/10/05, Dan K

Re: HOA idiocy.

2005-10-10 Thread Xavier Noria
On Oct 10, 2005, at 21:21, Dan Klose wrote: Hello list. I have a hash of arrays but when I come to run the script I get the following error: Odd number of elements in hash assignment at ./all2seq.pl line 15. I can't for the life of me work out why I am getting this error! I have never hand wr

Re: HOA idiocy.

2005-10-10 Thread Adriano Ferreira
Everywhere you wrote > "aliphatic" => qw[I L V], it should be something like > "aliphatic" => [ qw(I L V) ], storing array refs at the hash, not arrays per se. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

HOA idiocy.

2005-10-10 Thread Dan Klose
Hello list. I have a hash of arrays but when I come to run the script I get the following error: Odd number of elements in hash assignment at ./all2seq.pl line 15. I can't for the life of me work out why I am getting this error! I have never hand written a HOA and so I have tried this: my %prop