Is there a way to get at the name of the lexically surrounding package inside package Page ?To further beech's hint in the CB: perlmod says
The scope of the package declaration is … until the next package declaration.which basically means packages can't surround each other, your packages Test and Page are on the same level.
In reply to Re^6: Which internal DSL are there in Perl? (Domain Specific Languages - Part 1)
by soonix
in thread Which internal DSL are there in Perl? (Domain Specific Languages - Part 1)
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |