summaryrefslogtreecommitdiffstats
path: root/XS.xs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2011-09-05 20:55:08 -0500
committerJesse Luehrs <doy@tozt.net>2011-09-05 20:55:08 -0500
commit7e7bf1a653b87b66c95a38e85a9b39a43b54bd4e (patch)
treef0b899a374b2cebe7340cd10188eb84fef8f3f0b /XS.xs
parent1ff84a326d0d713e63382bbe164adbb6b4902a1b (diff)
downloadpackage-stash-xs-7e7bf1a653b87b66c95a38e85a9b39a43b54bd4e.tar.gz
package-stash-xs-7e7bf1a653b87b66c95a38e85a9b39a43b54bd4e.zip
use the same error message as the pp version
Diffstat (limited to 'XS.xs')
-rw-r--r--XS.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/XS.xs b/XS.xs
index 60775b7..58c76b9 100644
--- a/XS.xs
+++ b/XS.xs
@@ -384,7 +384,7 @@ new(class, package_name)
HV *instance;
CODE:
if (!SvPOK(package_name))
- croak("The constructor argument must be the name of a package");
+ croak("Package::Stash->new must be passed the name of the package to access");
instance = newHV();