Nothing profound here, just some fun syntax tricks for a Friday.
What is the output of the code below, and why?
my $foo = 12_123_1234_12_1; my $bar = "12_123_1234_12_1"; my $baz = 0 + $bar; print $foo, "\n"; print $bar, "\n"; print $baz, "\n";
"There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.
In reply to Fun with Numbers by hardburn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |