data types | ![]() |
![]() |
![]() |
$camels = '123'; print $camels + 1, "\n"; # prints 124
arrays and hashes
@flintstones = ('Fred' , 'Barney', 'Wilma', 'Betty'); print $flintstones[3], "\n"; # prints Betty %weight = ('Fred' => '200lbs', 'Wilma' => '100lbs'); print $weight{'Fred'}, "\n"; # prints 200lbs
the truth | ![]() |
![]() |
![]() |
0; # false ""; # false "0"; # false "00"; # true
I will not guarantee that any of these pages will exist indefinately, so please only bookmark the top page. |