From 7e7bf1a653b87b66c95a38e85a9b39a43b54bd4e Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 5 Sep 2011 20:55:08 -0500 Subject: use the same error message as the pp version --- XS.xs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'XS.xs') 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(); -- cgit v1.2.3-54-g00ecf