packing I32 with L is not nice, need l; from Wolfgang Laun.
[p5sagit/p5-mst-13.2.git] / ext / B / ramblings / curcop.runtime
CommitLineData
a8a597b2 1PP code uses of curcop
2----------------------
3
4pp_rv2gv
5 when a new glob is created for an OPpLVAL_INTRO,
6 curcop->cop_line is stored as GvLINE() in the new GP.
7pp_bless
8 curcop->cop_stash is used as the stash in the one-arg form of bless
9
10pp_repeat
11 tests (curcop != &compiling) to warn "Can't x= to readonly value"
12
13pp_pos
14pp_substr
15pp_index
16pp_rindex
17pp_aslice
18pp_lslice
19pp_splice
20 curcop->cop_arybase
21
22pp_sort
23 curcop->cop_stash used to determine whether to gv_fetchpv $a and $b
24
25pp_caller
26 tests (curcop->cop_stash == debstash) to determine whether
27 to set DB::args
28
29pp_reset
30 resets vars in curcop->cop_stash
31
32pp_dbstate
33 sets curcop = (COP*)op
34
35doeval
36 compiles into curcop->cop_stash
37
38pp_nextstate
39 sets curcop = (COP*)op