Whee, except that comes with the additional interesting quirk that you can't actually declare the array in the BEGIN, because of course it will go out of scope between that block and the fresh BEGIN block implicit in use. What a mess. Looks like require+import is actually cleaner-looking.
Thanks, both to you and moritz below, since the versioning issue is also good to know.
In reply to Re^2: When is "use module" not the same as require+import?
by AZed
in thread When is "use module" not the same as require+import?
by AZed
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |