Help for this page

Select Code to Download


  1. or download this
    PPCODE:
        int i;
        f();
    
  2. or download this
    PREINIT:
        int i;
    PPCODE:
        f();
    
  3. or download this
    PPCODE:
        {
            int i;
            f();
        }
    
  4. or download this
    say lengths1(substr("abc", 0, 1));  # 0
    
  5. or download this
    say lengths1("abc");  # 16
    
  6. or download this
    $_="\x{A0}";               say lengths1($_), "=", length($_);  # 1=1
    $_="\x{A0}\x{2660}"; chop; say lengths1($_), "=", length($_);  # 2=1
    
  7. or download this
    say lengths1(456), "=", length(456);  # 0=3