in reply to Re: Declaring a variable's type
in thread Declaring a variable's type
I needed this feature for input validation, which my tool would take from commandline arguments. I had plans to parse arguments through regex, but it seems I can use Attribute::Types and Data::Types for it
Thanks to everyone for the help.