From: Jesse Luehrs Date: Tue, 6 Sep 2011 01:55:08 +0000 (-0500) Subject: use the same error message as the pp version X-Git-Tag: 0.24~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7e7bf1a653b87b66c95a38e85a9b39a43b54bd4e;p=gitmo%2FPackage-Stash-XS.git use the same error message as the pp version --- 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();