Warning: Some posts on this platform may contain adult material intended for mature audiences only. Viewer discretion is advised. By clicking ‘Continue’, you confirm that you are 18 years or older and consent to viewing explicit content.
My favorite bit of trivia on this subject is that in Perl, if you have something list-like with lots of potentially empty values where the length isn’t the same as the number of things in the list, you can force list context and get a quick count by assigning to an empty list.
The end result is the unofficial “buttse” operator: =()=.
My favorite bit of trivia on this subject is that in Perl, if you have something list-like with lots of potentially empty values where the length isn’t the same as the number of things in the list, you can force list context and get a quick count by assigning to an empty list.
The end result is the unofficial “buttse” operator:
=()=
.