in reply to question about || operator and list context

The 3rd case works if you use 'or die' instead of '|| die'.

'or' has much lower precendence than '||' and for that reason is often the better choice.

--Bob Niederman, http://bob-n.com
  • Comment on Re: question about || operator and list context