YES!!! I didn't think this would work, but it does! It even works with Exporter! Hooray!
OK, time to rewrite the package names for these once again. :-) David On Wed, Oct 26, 2016 at 12:07 PM, Dan Book <[email protected]> wrote: > 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 > -- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." -- Brian Kernighan
