in reply to Re^5: Which internal DSL are there in Perl? (Domain Specific Languages - Part 1)
in thread Which internal DSL are there in Perl? (Domain Specific Languages - Part 1)
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Which internal DSL are there in Perl? (Domain Specific Languages - Part 1)
by shmem (Chancellor) on Aug 04, 2017 at 13:37 UTC | |
|
Re^7: Which internal DSL are there in Perl? (Domain Specific Languages - Part 1)
by hobbs (Monk) on Aug 04, 2017 at 14:28 UTC | |
by soonix (Chancellor) on Aug 04, 2017 at 16:28 UTC | |
by shmem (Chancellor) on Aug 04, 2017 at 16:49 UTC | |
by soonix (Chancellor) on Aug 04, 2017 at 16:56 UTC |