Re: Multi-Dimensional Hashes.

2003-06-17 Thread Ramprasad
Tirthankar C. Patnaik wrote: Folks, This may be a naive query, but dashed if I know it. I have a large dataset, of financial data, and I need to check the results of some trading strategies on it. I have read the data into a hash of hashes of hashes, as I believe it's better than

Multi-Dimensional Hashes.

2003-06-16 Thread Tirthankar C. Patnaik
Folks, This may be a naive query, but dashed if I know it. I have a large dataset, of financial data, and I need to check the results of some trading strategies on it. I have read the data into a hash of hashes of hashes, as I believe it's better than read this into an array (Or

Re: lesson on multi-dimensional hashes?

2003-06-09 Thread Stuart White
the advice so far. -stu --- R. Joseph Newton [EMAIL PROTECTED] wrote: Stuart White wrote: I've a problem that I think is best solved with multi-dimensional hashes. However, the reference that I'm using doesn't really cover them. Does anyone know where I might find some tutorial

lesson on multi-dimensional hashes?

2003-06-06 Thread Stuart White
I've a problem that I think is best solved with multi-dimensional hashes. However, the reference that I'm using doesn't really cover them. Does anyone know where I might find some tutorial article of some sort with an example or two on multi-dimensional hashes? I know that the syntax

Re: lesson on multi-dimensional hashes?

2003-06-06 Thread James Edward Gray II
On Thursday, June 5, 2003, at 09:26 AM, Stuart White wrote: I've a problem that I think is best solved with multi-dimensional hashes. However, the reference that I'm using doesn't really cover them. Does anyone know where I might find some tutorial article of some sort with an example or two

Re: lesson on multi-dimensional hashes?

2003-06-06 Thread Randal L. Schwartz
Stuart == Stuart White [EMAIL PROTECTED] writes: Stuart I've a problem that I think is best solved with Stuart multi-dimensional hashes. However, the reference that Stuart I'm using doesn't really cover them. Does anyone know Stuart where I might find some tutorial article of some sort Stuart

Re: lesson on multi-dimensional hashes?

2003-06-06 Thread R. Joseph Newton
Stuart White wrote: I've a problem that I think is best solved with multi-dimensional hashes. However, the reference that I'm using doesn't really cover them. Does anyone know where I might find some tutorial article of some sort with an example or two on multi-dimensional hashes? I know

Dynamic Hash Naming and multi-dimensional hashes

2003-02-25 Thread Hendricks Paul D A1C 27 IS/INYS
Hello beginners! Where do I start... I've already done some reading on this and I've played tag the wall with the forehead long enough. What I'm challenging myself to do is to create: a) a way to name a hash from user input b) find a way to create a multi-level hash (hash within a hash)

RE: Dynamic Hash Naming and multi-dimensional hashes

2003-02-25 Thread Bob Showalter
Hendricks Paul D A1C 27 IS/INYS wrote: Hello beginners! Where do I start... I've already done some reading on this and I've played tag the wall with the forehead long enough. Are you working through a book, like Learning Perl? If not, you should, because it takes you step by step through

Re: Dynamic Hash Naming and multi-dimensional hashes

2003-02-25 Thread Lance
if you are just trying to access a set of nested arrays, use something like my @parent=([1,2,3], [7,8,9]); print $parent[0][1]\n;# outputs 2 print $parent[1][2]\n;# outputs 9 ## now to access the the info, use references foreach my $num(@parent){ foreach my

Re: Dynamic Hash Naming and multi-dimensional hashes

2003-02-25 Thread Peter_Farrar
I've played tag the wall with the forehead long enough. a) a way to name a hash from user input If you mean assign a value with in a hash using the user input, then: my %hash $key = STDIN; $val = STDIN; $hash{$key} = $val; If you really want to let the user name

Re: Dynamic Hash Naming and multi-dimensional hashes

2003-02-25 Thread R. Joseph Newton
Hendricks Paul D A1C 27 IS/INYS wrote: Hello beginners! Where do I start... I've already done some reading on this and I've played tag the wall with the forehead long enough. What I'm challenging myself to do is to create: a) a way to name a hash from user input Don't. If you really