diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-01-21 12:12:12 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-01-21 17:09:11 +0000 |
commit | 6673a63c63e2a65dbfcc835d6499cc97c449c67b (patch) | |
tree | ec84eaad20d1a2dae1ca297ecf1d19de05feff1f /pp_ctl.c | |
parent | 2b393bf410d9f1bf0b80132c4e8b5d6707a139f8 (diff) | |
download | perl-6673a63c63e2a65dbfcc835d6499cc97c449c67b.tar.gz |
Update the documentation of get_hv() to note that it calls Perl_gv_fetchpv(),
and hence the 'create' argument is actually 'flags'. Fix code and documentation
that used TRUE or FALSE to use 0 or GV_ADD.
Diffstat (limited to 'pp_ctl.c')
-rw-r--r-- | pp_ctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1778,7 +1778,7 @@ PP(pp_caller) /* Get the bit mask for $warnings::Bits{all}, because * it could have been extended by warnings::register */ SV **bits_all; - HV * const bits = get_hv("warnings::Bits", FALSE); + HV * const bits = get_hv("warnings::Bits", 0); if (bits && (bits_all=hv_fetchs(bits, "all", FALSE))) { mask = newSVsv(*bits_all); } |