Help for this page

Select Code to Download


  1. or download this
    use Encode qw( encode_utf8 );
    my $x = chr(1 << 63);
    print length($x), "\n";
    print length(encode_utf8($x)), "\n";
    print "yep\n" if $x gt chr(255);
    
  2. or download this
    Use of code point 0x8000000000000000 is deprecated; the permissible ma
    +x is 0x7FFFFFFFFFFFFFFF at foo line 2.
    1
    13
    yep