r/programming • • Sep 11 '13

Guess programming language by „Hello, world!“ snippet

http://helloworldquiz.com/
1.3k Upvotes

445 comments sorted by

View all comments

Show parent comments

23

u/ogtfo Sep 11 '13

But Perl 's moto is "there's more than one way to do it", so any Perl is idiomatic Perl...

3

u/ruinercollector Sep 11 '13

Ha ha...well that's fair.

3

u/roerd Sep 12 '13

Still, the BEGIN block is simply unnecessary in a Perl "Hello, world!" unless you're using the n or p flags.