This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Merge perlext/Compiler/... into mainline. Some files move to
[perl5.git] / ext / B / ramblings / curcop.runtime
1 PP code uses of curcop
2 ----------------------
3
4 pp_rv2gv
5         when a new glob is created for an OPpLVAL_INTRO,
6         curcop->cop_line is stored as GvLINE() in the new GP.
7 pp_bless
8         curcop->cop_stash is used as the stash in the one-arg form of bless
9
10 pp_repeat
11         tests (curcop != &compiling) to warn "Can't x= to readonly value"
12
13 pp_pos
14 pp_substr
15 pp_index
16 pp_rindex
17 pp_aslice
18 pp_lslice
19 pp_splice
20         curcop->cop_arybase
21
22 pp_sort
23         curcop->cop_stash used to determine whether to gv_fetchpv $a and $b
24
25 pp_caller
26         tests (curcop->cop_stash == debstash) to determine whether
27         to set DB::args
28
29 pp_reset
30         resets vars in curcop->cop_stash
31
32 pp_dbstate
33         sets curcop = (COP*)op
34
35 doeval
36         compiles into curcop->cop_stash
37
38 pp_nextstate
39         sets curcop = (COP*)op