leszekdubiel has asked for the wisdom of the Perl Monks concerning the following question:
Leszek Dubiel#!/usr/bin/perl -CSDA use utf8; use strict; use warnings; my %h; $h{'Góry'} = 1; 'Góry' =~ /\A[[:alnum:]]*\z/ or die "error 1"; for (keys %h) { $_ =~ /\A[[:alnum:]]*\z/ or die "error 2"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Unicode strange behaviour as a key of hash
by dave_the_m (Monsignor) on Aug 14, 2017 at 19:05 UTC |