Viewing profile — colonelguy
colonelguy
HN member- Joined
- Tue, Nov 10, 2015, 1:58 PM UTC
- HN karma
- 6
- Public activity
- 2 items
- HN profile
- View on Hacker News ↗
About colonelguy
No profile information was provided.
Recent public activity
-
comment
Comment #10539305
Perl uses separate operators for mathematical addition and string concatenation. 1 + 1 == 2; 1 . 1 eq 11; It uses separate operators for most mathematical and string operations, fo…
-
comment
Comment #10539285
You'd want to use the exists operator in that case. It checks if the hash key is present without auto vivifying it. my %hash = (); if (exists $hash{foo}) {print "This doesn't run!"…