If you check the docs (perldoc -f die), you'll see that's the intended behavior. It's not "bad practice" to pass in a list.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
In reply to Re: Why are list items passed to die() combined into a string?
by roboticus
in thread Why are list items passed to die() combined into a string?
by Lotus1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |