Perl 6 Data Types: core

my Str $name   = 'Buffy';
my Int $age    = 12;

my int8 $age   = 256;  # bad!  Becomes 0 or overflow

my bool $foo   = 1;    # becomes bool::true

my Num $pi     = 3.14159;
my Any $radius = 6.378e3;

my CGI $cgi    = CGI.new();

say "Hello my name is $name and I am $age years old";

say "Earth's circumference: ", ($pi * $radius ** 2).int, "km";

print $cgi.header('text/plain');