The switch that checks for ISA, EXPORT, etc. in packages other
than main was guarded with an if(len>1) statement. Since ISA is
three characters, we can bypass that entire switch for two-charac-
ter symbols.
if (stash != PL_defstash) { /* not the main stash */
/* We only have to check for four names here: EXPORT, ISA, OVERLOAD
and VERSION. All the others apply only to the main stash. */
- if (len > 1) {
+ if (len > 2) {
const char * const name2 = name + 1;
switch (*name) {
case 'E':