You could enforce list context like your title says if you really liked to.
use Carp 'confess'; sub your_code { confess "List context is required" unless wantarray ... }
⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊
In reply to Re: enforcing list context
by diotalevi
in thread enforcing list context
by billh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |