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 /mg.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 'mg.c')
-rw-r--r-- | mg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -904,7 +904,7 @@ Perl_magic_get(pTHX_ SV *sv, MAGIC *mg) else if (PL_compiling.cop_warnings == pWARN_ALL) { /* Get the bit mask for $warnings::Bits{all}, because * it could have been extended by warnings::register */ - HV * const bits=get_hv("warnings::Bits", FALSE); + HV * const bits=get_hv("warnings::Bits", 0); if (bits) { SV ** const bits_all = hv_fetchs(bits, "all", FALSE); if (bits_all) |