Jay Savage wrote:
On Mon, Mar 3, 2008 at 5:32 PM, David Newman <[EMAIL PROTECTED]> wrote:
Greetings. I'm looking to compare two contact lists in csv format, and
then print out "here are the records in in Llist only, in Rlist only,
and what's in common."
I should compare only 3 of the 82 fiel
On Mon, Mar 3, 2008 at 5:32 PM, David Newman <[EMAIL PROTECTED]> wrote:
> Greetings. I'm looking to compare two contact lists in csv format, and
> then print out "here are the records in in Llist only, in Rlist only,
> and what's in common."
>
> I should compare only 3 of the 82 fields in each l
(Randal L. Schwartz) wrote:
"Gunnar" == Gunnar Hjalmarsson <[EMAIL PROTECTED]> writes:
Gunnar> my ($comp) = /([^,]*,[^,]*,[^,]*)/;
Gunnar> $Llist{$comp} = $_;
These lines scare me. What happens if the regex fails?
And if you never expect it to fail, at least add a "die", to p
David Newman wrote:
Greetings. I'm looking to compare two contact lists in csv format, and
then print out "here are the records in in Llist only, in Rlist only,
and what's in common."
I should compare only 3 of the 82 fields in each list. There are
differences in some of the other fields that
> "Gunnar" == Gunnar Hjalmarsson <[EMAIL PROTECTED]> writes:
Gunnar> my ($comp) = /([^,]*,[^,]*,[^,]*)/;
Gunnar> $Llist{$comp} = $_;
These lines scare me. What happens if the regex fails?
And if you never expect it to fail, at least add a "die", to prove
me wrong. :)
--
Ra
David Newman wrote:
Greetings. I'm looking to compare two contact lists in csv format, and
then print out "here are the records in in Llist only, in Rlist only,
and what's in common."
I should compare only 3 of the 82 fields in each list. There are
differences in some of the other fields that