in reply to Perl and Type restriction

Replies are listed 'Best First'.
Re^2: Perl and Type restriction
by ikegami (Patriarch) on Mar 21, 2010 at 18:33 UTC
    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.