diff options
author | Nicholas Clark <nick@ccl4.org> | 2011-06-13 16:24:23 +0200 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2011-07-01 14:05:40 +0200 |
commit | 0177730e7e0c099d1250571eb39367a76e2d91eb (patch) | |
tree | 18f9b6488a03824a8a0217507cec39d9972acaba /pod/perlguts.pod | |
parent | 637174112f90e2e782037f7c706f86617e7df263 (diff) | |
download | perl-0177730e7e0c099d1250571eb39367a76e2d91eb.tar.gz |
Split out study magic from pos magic.
study uses magic to call SvSCREAM_off() if the scalar is modified. Allocate it
its own magic type ('G' for now - pos magic is 'g'). Share the same "set"
routine and vtable as regexp/bm/fm (setregxp and vtbl_regexp).
Diffstat (limited to 'pod/perlguts.pod')
-rw-r--r-- | pod/perlguts.pod | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pod/perlguts.pod b/pod/perlguts.pod index e99c051c40..d8f052790d 100644 --- a/pod/perlguts.pod +++ b/pod/perlguts.pod @@ -1055,7 +1055,8 @@ The current kinds of Magic Virtual Tables are: E PERL_MAGIC_env vtbl_env %ENV hash e PERL_MAGIC_envelem vtbl_envelem %ENV hash element f PERL_MAGIC_fm vtbl_regdata Formline ('compiled' format) - g PERL_MAGIC_regex_global vtbl_mglob m//g target / study()ed string + G PERL_MAGIC_study vtbl_regdata study()ed string + g PERL_MAGIC_regex_global vtbl_mglob m//g target H PERL_MAGIC_hints vtbl_hints %^H hash h PERL_MAGIC_hintselem vtbl_hintselem %^H hash element I PERL_MAGIC_isa vtbl_isa @ISA array |