Help for this page

Select Code to Download


  1. or download this
        // extract field name
            if (state == NAME) {
    ...
                state = VALUE;
                continue;
            }
    
  2. or download this
                cur = hv_fetch(hdrs, copy, strlen(copy), 1);
                if (!SvOK(*cur)) {
                    SvREFCNT_dec(*cur);
                    *cur = newSVpv("", 0);
                }