Spiffy does weird things like source filtering and adding magic re-exporting to your code, which firstly makes your Perl look like Perl but behave really different, and secondly doesn't seem to work correctly. My guess is that the source filtering does not kick in for package two or is still active, even though you only "requested" it for package one. Try putting the two packages into separate files, or better, stay away from Spiffy.
I just now realized that you're using Class::Spiffy, which supposedly does not do source filtering, so I guess that just the exporting in Class::Spiffy messes up things. Try putting your packages into separate files to see if that improves things.
A third update: blokhead was initially correct. Setting @ISA does not import the stuff, or shouldn't. So you only get inheritance, but you don't get the magic Spiffy auto-exporting of functions.
In reply to Re: This can't happen, can it?
by Corion
in thread This can't happen, can it?
by henrylaxen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |