Re: Sanity checking for namespace and other abuses

[email protected] (Dan Book)
Newsgroups perl.module-authors
Message-ID <CABMkAVVjtWFHVce2oUy62=NKjwzAorOJzFUQ4fz8KUMTsridTw@mail.gmail.com>
On Wed, Oct 26, 2016 at 12:01 PM, David Mertens <[email protected]>
wrote:

> @everybody,
>
> Does anybody oppose me adding to code to top-level, lower-cased packages
> "int", "num", and "str"? What about top-level packages "Int", "UInt",
> "Str", or "Num"? Do other type systems use these top-level packages?
>

My opinion is to avoid it if possible. For similar work, see Type::Tiny,
which uses exported subs for that sort of type name.
https://metacpan.org/pod/Type::Tiny

-Dan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.