Help for this page

Select Code to Download


  1. or download this
        @new = map { $p ne $_ ? $p = $_ : () } @orig;
    
  2. or download this
        $p = 'supercalifragilistic';
        @new = map  { $p ne $_ ? $p = $_ : () } @orig;
    
  3. or download this
        use strict;
        sub uniq_adj {
    ...
        print "'", join ("' '", @new), "'\n";
        __END__
        Prints --> '' 'a' 'b' 'c' '0' 'c' 'd' 'u' '0' '"0"' ''0''