3 ms·
Perl went to town on having lots of logical operators and blurring (rather arbitrary) line between "flow control" and "logical operators", e.g.: open( my $fh_f
by tacostakohashi 3y ago
Perl went to town on having lots of logical operators and blurring (rather arbitrary) line between "flow control" and "logical operators", e.g.:
open( my $fh_file, "<", $file ) or die "Could not open file '$file' $!";
do_thing() unless predicate();
do_thing() if predicate();
do_thing() until predicate();
... and lots more.