If @_ is empty, read from $_. Check wantarray()'s value when deciding what to do or what to return.
⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊
In reply to Re: subroutine bewilderment: how to mimic builtins
by diotalevi
in thread subroutine bewilderment: how to mimic builtins
by dimar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |