in reply to Moo-Type checking example from Perl Maven: What should be the expected result?
'die' spews to STDERR.
Since outputs are to different devices, the order may be intermingled - usually, STDERR output appears first.
You could get your expected output by using 'warn' instead of 'say' (and adding "\n").
Memory fault -- brain fried
|
|---|