Help for this page

Select Code to Download


  1. or download this
    my @a = qw( a a b c c c d e f e f e a f g h h h );
    
    ...
    
    print "@a\n";
    
  2. or download this
    sub remove_duplicates(\@)
    {
    ...
    remove_duplicates( @a );
    print "@a\n";