Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: remove duplicates from an array!

by Hercynium (Hermit)
on Jan 07, 2008 at 22:23 UTC ( #660957=note: print w/replies, xml ) Need Help??

in reply to remove duplicates from an array!

Could you please post a dump of what you have in @ICEU? The rest of your code looks correct, but perhaps the data you're searching through isn't what you expect?
print Dumper \@ICEU;

Replies are listed 'Best First'.
Re^2: remove duplicates from an array!
by nashkab (Novice) on Jan 07, 2008 at 22:29 UTC
    Hi it only displays the first line:-
    30F-WKS(tab)`1781183799.xxxx1' (tab) IC---;

    can you suggest anternate coding

      Looks like the people in the posts below have the answer for you... your data isn't what you think it is, but it can be transformed pretty easily. :) Cheers!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://660957]
[choroba]: ovedpo15 Hard to tell without context. You probalby used $dir outside of its scope, which is the body of the "unless".
[choroba]: if you use unless as a statement modifier, you can't use the variable declared in the modifier in the statement.

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2018-04-22 19:18 GMT
Find Nodes?
    Voting Booth?