"Hi everyone,
I was playing with Perl at 2:30 this morning. My play turned to "Hello World!"...this is what came out:
sub getName { (shift)->{name} } print "Hello ", bless({name => "World!\n"})->getName;
It's object-based, doesn't use any explicit variables, and runs under strict and warnings pragmas.
I thought I would put this out to you all as an opportunity to creatively breathe new life into "Hello World!". I'd love to see what people came up with. If it turns out to be a fun and interesting thread, I'll post this on PerlMonks."
~Although this is a meditation, it's also an invitation, even a request, for people to post their wacky version of "Hello World!"...the Victoria-PM was very prompt with some doozies. :)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Hello World!
by pg (Canon) on Mar 15, 2003 at 18:56 UTC | |
Re: Hello World!
by Ctrl-z (Friar) on Mar 16, 2003 at 13:25 UTC | |
by valdez (Monsignor) on Mar 17, 2003 at 21:00 UTC | |
Re: Hello World!
by Abigail-II (Bishop) on Mar 15, 2003 at 23:02 UTC | |
Re: Hello World!
by amrangaye (Friar) on Mar 17, 2003 at 15:09 UTC | |
Re: Hello World!
by Aristotle (Chancellor) on Mar 22, 2003 at 12:55 UTC |
Back to
Meditations