|Subject:||Package name not checked|
|Date:||Mon, 12 Feb 2018 04:25:23 +0000|
|From:||Jim Bacon <email@example.com>|
Although I find this module to be very handy, it only woks correctly if either a) the script does not have a package name other than “main” (default namespace) or the __END__ tag is used. This is because the __TAG__ is always in the “main” namespace regardless of a different package name being used, or the __DATA__ tag is in the “main” namespace. If a script uses __DATA__ but has its own namespace, which is usually the case with a modulino, then because the glob handle is hard-coded as “main::DATA” the test for existence via “tell” will always fail.