Revision history for Package-Stash
{{$NEXT}}
+ - more correct validity test for scalars (rafl, Roland van Ipenburg)
0.17 2010-11-16
- bah, get rid of extra junk in the tarball
switch (type) {
case VAR_SCALAR:
- return sv_type == SVt_NULL ||
- sv_type == SVt_IV ||
- sv_type == SVt_NV ||
- sv_type == SVt_PV ||
- sv_type == SVt_RV;
+ return SvROK(value) ? SvOK(SvRV(value)) : SvOK(value);
case VAR_ARRAY:
return sv_type == SVt_PVAV;
case VAR_HASH: