Help for this page

Select Code to Download


  1. or download this
    if (SvROK(sv) && SvTYPE(sv) == SVt_PVCV)
       warn("sv is a code reference (CV) alright.");
    
  2. or download this
    if (SvROK(sv) && sv_derived_from(sv, "Foo"))
       warn("sv isa Foo");
    
  3. or download this
    if (gv_fetchmethod(gv_stashpv("Foo", 0), "Foo::bar"))
       warn("succeeded in finding Foo::bar");