my $a = 'Foo'; # $a isa Str now $a = 42; # $a isa Int now