Help for this page

Select Code to Download


  1. or download this
       $s = 'hi, there, world, how, are you, today?';
       print join "\n", keys %{{ map {$_ => undef} (split /,\s+/, $s)}};
    
  2. or download this
       $s = 'hi, there, world, how, are you, today?';
       print (join "\n", (grep ! $t{$_}++, (split /,\s+/, $s)));