Help for this page

Select Code to Download


  1. or download this
        binmode(STDOUT, ':encoding(UTF-8)');
    
  2. or download this
        binmode(STDOUT, ":utf8");
    
  3. or download this
        open HASH, '<:encoding(UTF-8)', 'test_hash.txt';
        ...
        open INPUTFILE, '<:encoding(UTF-8)', 'test_input.txt';
    
  4. or download this
        open HASH, '<:utf8', "test_hash.txt";
        ...
        open INPUTFILE, '<:utf8', "test_input.txt";
    
  5. or download this
        my @word = $entry =~ /(\X)/g;
    
  6. or download this
        my @word = $entry =~ /(\X+)/g;
    
  7. or download this
        for my $letter (@letters) {
            my @input_features = @{ $hash{$letter} };
            print join(" ", @input_features) . "\n";
        }