Help for this page

Select Code to Download


  1. or download this
    $_='hotel';
    %f=map {$_=>1} split //;
    print join('',keys %f), "\n";
    
  2. or download this
    $_='rotohotel';
    my $len=0;
    my %f=map {$len++ => $_} split //;
    print join('', values %f), "\n";