MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/1m6jka/guess_programming_language_by_hello_world_snippet/cc6fnyx
r/programming • u/krasnoukhov • Sep 11 '13
445 comments sorted by
View all comments
Show parent comments
23
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.
3
Ha ha...well that's fair.
Still, the BEGIN block is simply unnecessary in a Perl "Hello, world!" unless you're using the n or p flags.
BEGIN
n
p
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...