summaryrefslogtreecommitdiffstats
path: root/contrib/perl5/ext/B/ramblings/curcop.runtime
blob: 9b8b7d52e71f97666f74c0fe761e337a19366c09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
PP code uses of curcop
----------------------

pp_rv2gv
	when a new glob is created for an OPpLVAL_INTRO,
	curcop->cop_line is stored as GvLINE() in the new GP.
pp_bless
	curcop->cop_stash is used as the stash in the one-arg form of bless

pp_repeat
	tests (curcop != &compiling) to warn "Can't x= to readonly value"

pp_pos
pp_substr
pp_index
pp_rindex
pp_aslice
pp_lslice
pp_splice
	curcop->cop_arybase

pp_sort
	curcop->cop_stash used to determine whether to gv_fetchpv $a and $b

pp_caller
	tests (curcop->cop_stash == debstash) to determine whether
	to set DB::args

pp_reset
	resets vars in curcop->cop_stash

pp_dbstate
	sets curcop = (COP*)op

doeval
	compiles into curcop->cop_stash

pp_nextstate
	sets curcop = (COP*)op
OpenPOWER on IntegriCloud