in reply to Re: Perl and Type restriction
in thread Perl and Type restriction

Typed variables can work atop of scalars, so it's not quite the same issue as the linked post. In fact, it's syntactically correct to say
my Foo $bar;
It just doesn't do anything.