Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)L
Posts
0
Comments
2
Joined
9 mo. ago

  • You clearly haven't used Perl a lot. Perl's ternary looks like:

    $even = $num % 2 ? "nay" : "yay";

    Incidentally, it is also the same as PHP's, but mainly because PHP stole it.