Perl
Perl is the beauty and a beast. I mean, both of them.
My favorite Perl features
- Suitable for quite compact one-liners.
- Better readability with statement modifiers,
unlessandand,or,xor,notbetween expressions. - 0, '0', '', (), and
undefare false, anything else is true. - Many special variables to reflect internal states.
- JSON-like array and hash literals.
- Possibility to find out if the
sub’s callerwantarray. - Flexible use of
gotoand lables. - Flexible use of
next,last,redo. - Anonymous
subs. - Functions are first-class citizens.