in reply to Re^2: How do I remove the duplicates from the array?
in thread How do I remove the duplicates from the array?
@long = (1, 2, 3, 4, 5); @sparse = (1, , , 4, ); @short = (1, 4); print "Equals\n" if $#long == $#sparse; print "Shorter\n" if $#short == $#sparse;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How do I remove the duplicates from the array?
by parv (Parson) on Sep 26, 2013 at 07:49 UTC |