xavier mas wrote:
A Dissabte 13 Gener 2007 18:53, Xavier Noria va escriure:
On Jan 13, 2007, at 6:29 PM, xavier mas wrote:
hello list,
I am trying to find if an element in one primary file (transformed
to array)
is included in two other different secondary files (transformed to
arrays,
too);
A Diumenge 14 Gener 2007 06:39, Bill Jones va escriure:
On 1/13/07, xavier mas [EMAIL PROTECTED] wrote:
Yes, this is the code I use, but still doesn't work to me and I can't
find the cause.
Have you looked the results using Data::Dumper? Maybe the results
aren't as expected?
--
WC
A Diumenge 14 Gener 2007 11:20, Xavier Noria va escriure:
Xavier, this is being inefficient.
If you don't send a minimal example together with data example that
reproduces the issue this is a come and go of second-guesses, which
is a waste of time. Please send them so we can go straight to
A Diumenge 14 Gener 2007 11:20, Xavier Noria va escriure:
Xavier, this is being inefficient.
If you don't send a minimal example together with data example that
reproduces the issue this is a come and go of second-guesses, which
is a waste of time. Please send them so we can go straight to
A Diumenge 14 Gener 2007 12:33, [EMAIL PROTECTED] va escriure:
A Diumenge 14 Gener 2007 11:20, Xavier Noria va escriure:
Xavier, this is being inefficient.
If you don't send a minimal example together with data example that
reproduces the issue this is a come and go of second-guesses,
A Diumenge 14 Gener 2007 12:33, [EMAIL PROTECTED] va escriure:
That's the program in full and a sample of the files (same as before):
dict.txt: house, man, woman, kid, kitchen
img.txt: ball, dog, cat, lion
in.txt: woman, lion, dog
I'll stop here, please if any other regular wants to take
On 01/13/2007 12:43 PM, xavier mas wrote:
A Dissabte 13 Gener 2007 18:53, Xavier Noria va escriure:
On Jan 13, 2007, at 6:29 PM, xavier mas wrote:
hello list,
I am trying to find if an element in one primary file (transformed
to array)
is included in two other different secondary files
hello list,
I am trying to find if an element in one primary file (transformed to array)
is included in two other different secondary files (transformed to arrays,
too); the result is going to be printed as 1 or 0:
...
#creating arrays from its text files
@img_array=IMATGES; @dict_array=DICT;
On Jan 13, 2007, at 6:29 PM, xavier mas wrote:
hello list,
I am trying to find if an element in one primary file (transformed
to array)
is included in two other different secondary files (transformed to
arrays,
too); the result is going to be printed as 1 or 0:
According to the code
A Dissabte 13 Gener 2007 18:53, Xavier Noria va escriure:
On Jan 13, 2007, at 6:29 PM, xavier mas wrote:
hello list,
I am trying to find if an element in one primary file (transformed
to array)
is included in two other different secondary files (transformed to
arrays,
too); the
xavier mas wrote:
Here's an example:
in (file, array and hash) contains: woman, lion, ball
img (file, array and hash) contains: ball, dog, cat, lion.
dict (file, array and hash) contains: house, man, woman, kid, kitchen, lion
Comparing in with dict ans img, I'll expect as a result (all
On Jan 13, 2007, at 7:43 PM, xavier mas wrote:
Here's an example:
in (file, array and hash) contains: woman, lion, ball
img (file, array and hash) contains: ball, dog, cat, lion.
dict (file, array and hash) contains: house, man, woman, kid,
kitchen, lion
Comparing in with dict ans img,
A Dissabte 13 Gener 2007 20:38, John W. Krahn va escriure:
xavier mas wrote:
Here's an example:
in (file, array and hash) contains: woman, lion, ball
img (file, array and hash) contains: ball, dog, cat, lion.
dict (file, array and hash) contains: house, man, woman, kid, kitchen,
lion
On 1/13/07, xavier mas [EMAIL PROTECTED] wrote:
Yes, this is the code I use, but still doesn't work to me and I can't find the
cause.
Have you looked the results using Data::Dumper? Maybe the results
aren't as expected?
--
WC (Bill) Jones -- http://youve-reached-the.endoftheinternet.org/
Hi, I have two different hashes built from separate data and need to
find the common then differing items.
$HoA1{$custnum} = [ $uid, $firstname, $lastname ];
$HoA2{$uid} = [ $custnum, $firstname, $lastname ];
I have looked at examples for Finding Common or Different Keys in Two
Hashes but the
On Dec 16, 2003, at 9:36 AM, John Hennessy wrote:
Hi, I have two different hashes built from separate data and need to
find the common then differing items.
$HoA1{$custnum} = [ $uid, $firstname, $lastname ];
$HoA2{$uid} = [ $custnum, $firstname, $lastname ];
I have looked at examples for
John Hennessy wrote:
Hi, I have two different hashes built from separate data and need to
find the common then differing items.
$HoA1{$custnum} = [ $uid, $firstname, $lastname ];
$HoA2{$uid} = [ $custnum, $firstname, $lastname ];
I have looked at examples for Finding Common or Different
Date sent: Tue, 16 Dec 2003 23:36:16 +0800
From: John Hennessy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject:Comparing Hashes with different keys. How ?
Hi, I have two different hashes built from separate data and need to
find
John Hennessy wrote:
Hi, I have two different hashes built from separate data and need to
find the common then differing items.
$HoA1{$custnum} = [ $uid, $firstname, $lastname ];
$HoA2{$uid} = [ $custnum, $firstname, $lastname ];
I have looked at examples for Finding Common or Different
19 matches
Mail list logo