in reply to subroutine bewilderment: how to mimic builtins
If @_ is empty, read from $_. Check wantarray()'s value when deciding what to do or what to return.
⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊