From 7bee1db7a7213960f0e993475537d52af34c2e34 Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Wed, 20 Oct 2010 16:41:14 +0200 Subject: Standardise Hash::Util::hv_store's error message. Previously it was inconsistent with the messages of the other XS routines, which used all-uppercase for HASH and ARRAY. --- ext/Hash-Util/Util.xs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/Hash-Util/Util.xs b/ext/Hash-Util/Util.xs index 571d48b591..03b049fd20 100644 --- a/ext/Hash-Util/Util.xs +++ b/ext/Hash-Util/Util.xs @@ -98,7 +98,7 @@ hv_store(hvref, key, val) CODE: { if (!SvROK(hvref) || SvTYPE(SvRV(hvref)) != SVt_PVHV) - croak("First argument to hv_store() must be a hash reference"); + croak("First argument to hv_store() must be a HASH reference"); hv = (HV*)SvRV(hvref); SvREFCNT_inc(val); if (!hv_store_ent(hv, key, val, 0)) { -- cgit v1.2.1