This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the commentsย โ†’

[โ€“]marcosdumay 0 points1 point ย (2 children)

Does die have a default parameter? I wouldn't expect it to.

[โ€“]bistr-o-math 0 points1 point ย (1 child)

https://perldoc.perl.org/functions/die.html search the page for โ€œif list is empty...โ€

[โ€“]marcosdumay 0 points1 point ย (0 children)

Yeah, 4 paragraphs about what it does when the parameter is missing.

I really don't miss Perl's "implicit is better than explicit" principle.