diff options
author | Jesse Luehrs <doy@tozt.net> | 2013-07-15 12:49:25 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-07-15 12:49:25 -0400 |
commit | 61b742169ef5342fa9e52be035ad9b68b98faee8 (patch) | |
tree | 720704c7b73ec708329fedbb4384f5d8a61f23fc | |
parent | 415f27aaf8bbf75d2831a040f4b8f17ce54cb62c (diff) | |
download | package-stash-xs-61b742169ef5342fa9e52be035ad9b68b98faee8.tar.gz package-stash-xs-61b742169ef5342fa9e52be035ad9b68b98faee8.zip |
better error message here
-rw-r--r-- | XS.xs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -383,7 +383,8 @@ static void _expand_glob(SV *self, SV *varname) if (entry = hv_fetch_ent(namespace, varname, 0, 0)) { glob = (GV*)HeVAL(entry); if (isGV(glob)) { - croak("_expand_glob called on stash slot with expanded glob"); + croak("_expand_glob called on stash slot with expanded glob: %"SVf, + varname); } else { SvREFCNT_inc(glob); |