"my" variables are lexically scoped to the curly braces that contain them. That means that your $IAm is limited exactly to that init block. Also, =~ isn't in perl6.
You can put "my $IAm" outside that block and assign to it inside the block, though. HTH - Timo