Help for this page

Select Code to Download


  1. or download this
    $_ = 12;        # Value is 12, the number of months in a year.
    print "$_\n";   # Value is still 12, the number of months in a year,
                    #    just stored differently.
    
  2. or download this
    $_ = "\x80\x81";    # Value is bytes 80 81
    utf8::upgrade($_);  # Value is still bytes 80 81,
                        #    just stored differently.
    print(length($_), "\n");  # 2