Help for this page

Select Code to Download


  1. or download this
    switch (SvTYPE(sv)) {    /* Console ourselves with a new value */
    case SVt_PVAV:    *(SV**)ptr = (SV*)newAV();    break;
    case SVt_PVHV:    *(SV**)ptr = (SV*)newHV();    break;
    default:    *(SV**)ptr = newSV(0);        break;
    }