From: Rafael Garcia-Suarez Date: Fri, 31 Mar 2006 14:08:12 +0000 (+0000) Subject: Document new magic types in perlguts. Fix a comment about sort hints. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0239f47c38fe4c16c8ee5852e4b46154affabb39;p=p5sagit%2Fp5-mst-13.2.git Document new magic types in perlguts. Fix a comment about sort hints. p4raw-id: //depot/perl@27644 --- diff --git a/perl.h b/perl.h index 1e83f50..35c17b1 100644 --- a/perl.h +++ b/perl.h @@ -4200,7 +4200,7 @@ enum { /* pass one of these to get_vtbl */ #define HINT_ASSERTING 0x01000000 #define HINT_ASSERTIONSSEEN 0x02000000 -/* The following are stored in $sort::hints, not in PL_hints */ +/* The following are stored in $^H{sort}, not in PL_hints */ #define HINT_SORT_SORT_BITS 0x000000FF /* allow 256 different ones */ #define HINT_SORT_QUICKSORT 0x00000001 #define HINT_SORT_MERGESORT 0x00000002 diff --git a/pod/perlguts.pod b/pod/perlguts.pod index 0d17aa4..7b92d36 100644 --- a/pod/perlguts.pod +++ b/pod/perlguts.pod @@ -1038,6 +1038,8 @@ The current kinds of Magic Virtual Tables are: e PERL_MAGIC_envelem vtbl_envelem %ENV hash element f PERL_MAGIC_fm vtbl_fm Formline ('compiled' format) g PERL_MAGIC_regex_global vtbl_mglob m//g target / study()ed string + H PERL_MAGIC_hints vtbl_sig %^H hash + h PERL_MAGIC_hintselem vtbl_hintselem %^H hash element I PERL_MAGIC_isa vtbl_isa @ISA array i PERL_MAGIC_isaelem vtbl_isaelem @ISA array element k PERL_MAGIC_nkeys vtbl_nkeys scalar(keys()) lvalue