Perl6の内部表現 |
Takahiro Shimizu
|
my $str_value = 'hello world!';
$str_value.say; # hello world!
my $sample_value = 'hello world!';
$sample_value.say; # hello world!
$sample_value = '31';
$sample_value.say; # 31
say($sample_value * 3);
my Int $int_value = 31;
$int_value = "hello"; # Compile error!