To: perl5-porters@perl.org
Subject: [PATCH av.c, op.c, perldiag.pod] "array field" -> "pseudo-hash field"
Message-ID: <
19991003135423.A3050@blackrider>
p4raw-id: //depot/cfgperl@4297
he = hv_fetch_ent(keys, keysv, FALSE, hash);
if (!he)
- Perl_croak(aTHX_ "No such pseudo-hash field '%s'", SvPV(keysv,n_a));
+ Perl_croak(aTHX_ "No such pseudo-hash field \"%s\"", SvPV(keysv,n_a));
return av_fetch(av, avhv_index_sv(HeVAL(he)), lval);
}
key = SvPV(*svp, keylen);
indsvp = hv_fetch(GvHV(*fields), key, keylen, FALSE);
if (!indsvp) {
- Perl_croak(aTHX_ "No such field \"%s\" in variable %s of type %s",
+ Perl_croak(aTHX_ "No such pseudo-hash field \"%s\" in variable %s of type %s",
key, SvPV(lexname, n_a), HvNAME(SvSTASH(lexname)));
}
ind = SvIV(*indsvp);
(F) The argument to B<-I> must follow the B<-I> immediately with no
intervening space.
-=item No such pseudo-hash field '%s'
+=item No such pseudo-hash field "%s"
-(F) You tried to access a pseudo-hash, but the field name used is
+(F) You tried to access an array as a hash, but the field name used is
not defined. The hash at index 0 should map all valid field names to
array indices for that to work.
-=item No such field "%s" in variable %s of type %s
+=item No such pseudo-hash field "%s" in variable %s of type %s
(F) You tried to access a field of a typed variable where the type
does not know about the field name. The field names are looked up in