# Scalars
my $var = 1;
say $var.WHAT; # (Int)
$var = "some arbitrary string"; # "dynamically" typed
say $var.WHAT; # (Str)
say $var.perl; # "some arbitrary string"
What does it mean to be dynamically types? I think Perl 6 takes the type
system to a different level, not only bridging a gap between
functional/OO languages, but those that can leverage types in ways that
don't have to be built into the language.