in reply to Another "Find the bug!" Node

You are updating the $EXPORT_TAGS{all} of both modules because you would made a shallow copy of %EXPORT_TAGS.

Update: I deduced the above without running the program. When I do run it, I get the error message '"foobar" is not exported by the Package1 module'. My reply would be "duh! Why does Exporter think it is?"