Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    no feature qw( unicode_strings );
    utf8::upgrade($string);
    say $string =~ /^\s*$/ ? 1 : 0;      # 1