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=; @dict_array=; @in_array=;
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 that
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,
> >
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 re
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, kitch
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/
h
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?
>
>
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
understand what happens.
-- fxn
--
To unsubscribe, e-m
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 t
> 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 str
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 (transf
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); t
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
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 secon
> 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 t
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 "Findin
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 Diff
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 an
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 Diffe
20 matches
Mail list logo