Ask a Question related to PERL Miscellaneous, Design and Development.
-
john62@electronmail.com #1
duplicate removal
ok, this is probably another easy question. does anyone
know how to remove duplicates in a list of strings?
basically, i have a list of newsgroup message subjects.
sometimes people accidentally post twice, so i need to
remove the dups.
thx
--------------------------------------------------------------------
For free web access to newsgroups, please visit
[url]http://www.coldmail.us/[/url]. Thanks
--------------------------------------------------------------------
----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
[url]http://www.newsfeed.com[/url] The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
john62@electronmail.com Guest
-
Extension Removal
Dear All, I hope that someone may be able to help me. I installed some extensions for DW recently to try them out and would now like to remove... -
[PHP] URGENT REMOVAL
enough or mr Larry E. Ullman will kick some butt -
program removal
How can I remove a program from one users account on xp without removing it from other users account? -
Pop Up ad REMOVAL
Anyone, Please tell me how to eliminate these pop-up ads.............. -
red-eye removal
Ahem, irfanview's red-eye removal works very well. Free.... Cullinane wrote: -
Tad McClellan #2
Re: duplicate removal
[email]john62@electronmail.com[/email] <john62@electronmail.com> wrote:
> ok, this is probably another easy question.
Common questions are grouped together, along with answers, in
a document called a FAQ (Frequently Asked Questions).
It is considered good manners to check the FAQ *before* posting
to the newsgroup.
> does anyone
> know how to remove duplicates in a list of strings?
perldoc -q duplicate
"How can I remove duplicate elements from a list or array?"
--
Tad McClellan SGML consulting
[email]tadmc@augustmail.com[/email] Perl programming
Fort Worth, Texas
Tad McClellan Guest
-
Bob Walton #3
Re: duplicate removal
[email]john62@electronmail.com[/email] wrote:
> ok, this is probably another easy question. does anyone
> know how to remove duplicates in a list of strings?
This is a FAQ:
perldoc -q dupicate
--
Bob Walton
Bob Walton Guest
-
Jürgen Exner #4
Re: duplicate removal
[email]john62@electronmail.com[/email] wrote:
The Fine Manual knows.> ok, this is probably another easy question. does anyone
> know how to remove duplicates in a list of strings?
Please check "perldoc -q duplicate":
How can I remove duplicate elements from a list or array?
jue
Jürgen Exner Guest
-
Helgi Briem #5
Re: duplicate removal
On Sun, 13 Jul 2003 01:46:23 GMT, Bob Walton
<bwalton@rochester.rr.com> wrote:
Except that he might want to spell that "duplicate".>john62@electronmail.com wrote:
>>>> ok, this is probably another easy question. does anyone
>> know how to remove duplicates in a list of strings?
>
>This is a FAQ:
>
> perldoc -q dupicate
Like the denizens of comp.lang.perl.misc, computers
are notoriously picky about spelling things properly.
;-)
Helgi Briem Guest
-
JDeBaun #6
Re: duplicate removal
[email]john62@electronmail.com[/email] wrote in message news:<3f10af06_2@127.0.0.1>...
try:> ok, this is probably another easy question. does anyone
> know how to remove duplicates in a list of strings?
>
> basically, i have a list of newsgroup message subjects.
> sometimes people accidentally post twice, so i need to
> remove the dups.
>
> thx
>
>
> --------------------------------------------------------------------
> For free web access to newsgroups, please visit
> [url]http://www.coldmail.us/[/url]. Thanks
> --------------------------------------------------------------------
>
>
> ----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
> [url]http://www.newsfeed.com[/url] The #1 Newsgroup Service in the World! >100,000 Newsgroups
> ---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
@UniqArray = grep(!$saw{$_}++, @DuplicateArray);
JDeBaun Guest



Reply With Quote

