dru145 has asked for the wisdom of the Perl Monks concerning the following question:
mgr@acme.net ipadm@acme.net abuse@acme.net mgr@acme.net ipadm@acme.net abuse@acme.net
my @saw; @emails = grep(!$saw[$_]++, @emails);
Argument "mgr@acme.net" isn't numeric in array element at ./whois.pl l +ine 64. Argument "ipadm@acme.net" isn't numeric in array element at ./whois.pl + line 64. Argument "abuse@acme.net" isn't numeric in array element at ./whois.pl + line 64. Argument "mgr@acme.net" isn't numeric in array element at ./whois.pl l +ine 64. Argument "ipadm@acme.net" isn't numeric in array element at ./whois.pl + line 64. Argument "abuse@acme.net" isn't numeric in array element at ./whois.pl + line 64. mgr@acme.net
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problems with Comparing Arrays
by danboo (Beadle) on Dec 28, 2001 at 02:48 UTC | |
|
Re: Problems with Comparing Arrays
by grep (Monsignor) on Dec 28, 2001 at 02:48 UTC | |
|
Re: Problems with Comparing Arrays
by dmmiller2k (Chaplain) on Dec 28, 2001 at 03:38 UTC |