I tried to use examples of ellipsis '...' provided by documentation https://perldoc.perl.org/perlsyn#The-Ellipsis-Statement
. But I found description not clearly written. And I'm not sure if I got correct behavior of '...', because it is "documented" in a way (cite): "These examples show how the ellipsis works:"
. But there are no outputs of examples provided.
I don't understand why '...; print 1;
' exits after ellipsis and not proceeds to print (v5.28). Can someone explain?
I understand why 'print ...
' breaks: because it makes syntax error.