curcop.runtime 730 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. PP code uses of curcop
  2. ----------------------
  3. pp_rv2gv
  4. when a new glob is created for an OPpLVAL_INTRO,
  5. curcop->cop_line is stored as GvLINE() in the new GP.
  6. pp_bless
  7. curcop->cop_stash is used as the stash in the one-arg form of bless
  8. pp_repeat
  9. tests (curcop != &compiling) to warn "Can't x= to readonly value"
  10. pp_pos
  11. pp_substr
  12. pp_index
  13. pp_rindex
  14. pp_aslice
  15. pp_lslice
  16. pp_splice
  17. curcop->cop_arybase
  18. pp_sort
  19. curcop->cop_stash used to determine whether to gv_fetchpv $a and $b
  20. pp_caller
  21. tests (curcop->cop_stash == debstash) to determine whether
  22. to set DB::args
  23. pp_reset
  24. resets vars in curcop->cop_stash
  25. pp_dbstate
  26. sets curcop = (COP*)op
  27. doeval
  28. compiles into curcop->cop_stash
  29. pp_nextstate
  30. sets curcop = (COP*)op