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 re
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
ks for all 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&
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 t
>>>>> "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
S
; To: [EMAIL PROTECTED]
> Subject: lesson on multi-dimensional hashes?
>
>
> 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
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
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
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 re
>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 = ;
$val = ;
$hash{$key} = $val;
If you really want to let the user name your var
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
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
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)
13 matches
Mail list logo