.... and this just jumped out at me: class Foo { private string|int bar; static create(string|int newBar) { bar = newBar; } }
In other words, as I understand it, you can type the variable bar as either an int or a string. Aside from simply, "my $bar;", will we be able to repeat this behavior in Perl6 programs? Let me guess, though, this is one of those instances where I should have read A1..5 and E1..4 more closely. :-)