projects
/
gitmo/Class-MOP.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
tiny tweaks
[gitmo/Class-MOP.git]
/
xs
/
Package.xs
diff --git
a/xs/Package.xs
b/xs/Package.xs
index
acfeb4c
..
4e7087d
100644
(file)
--- a/
xs/Package.xs
+++ b/
xs/Package.xs
@@
-382,7
+382,7
@@
PREINIT:
GV* gv;
SV* sv;
CODE:
- { /* parse options */
+ if(items > 2){ /* parse options */
I32 i;
if((items % 2) != 0){
croak("Odd number of arguments for get_package_symbol()");