Help for this page

Select Code to Download


  1. or download this
    my $string = 'abcde';
    sub invert {
    ...
        join"",grep/[^\Q$_[0]\E]/,map{chr}1..255
    }
    print invert($string);
    
  2. or download this
    my $string = 'defg';
    
    ...
    }
    
    print invert($string);