summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-11-22 21:28:15 -0800
committerFather Chrysostomos <sprout@cpan.org>2011-11-22 21:29:35 -0800
commitbc4eb4d6f895e86a4afbc016eae943c7546c35f2 (patch)
treeef18a6108892dffc3ebf5c7bdc667133a2b37b4f /ext
parenta3f353cf7aaf90ddfb021a9733ff75f4437d4e70 (diff)
downloadperl-bc4eb4d6f895e86a4afbc016eae943c7546c35f2.tar.gz
[perl #102586] version->new("version") SEGVs
This adds an ROK check after calling sv_derived_from, as the latter also works for class names. It is done after sv_derived_from, rather than before, as sv_derived_from calls get-magic.
Diffstat (limited to 'ext')
-rw-r--r--ext/arybase/arybase.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/arybase/arybase.pm b/ext/arybase/arybase.pm
index 829f2dbc3f..aa3946dbdb 100644
--- a/ext/arybase/arybase.pm
+++ b/ext/arybase/arybase.pm
@@ -1,6 +1,6 @@
package arybase;
-our $VERSION = "0.01";
+our $VERSION = "0.02";
require XSLoader;
XSLoader::load(); # This returns true, which makes require happy.