Discussion:
Geeky way to wish Happy Birthday through Perl
(too old to reply)
Parag Kalra
2010-01-17 18:04:12 UTC
Permalink
Hello All,

I am looking for a geeky way to wish someone on his Birthday with the help
of Perl.

Condition is - It should be one liner which I can directly execute from the
command line.

EG: perl -e "print 'Happy Birthday Larry!!!'"

But this is very simple and you can directly make out without even
executing. I want some really nerdy way of wishing for which the Birthday
Boy has to execute it without which he cannot understand the message. :)

So common folks give me some ideas.

Cheers,
Parag
Parag Kalra
2010-01-17 18:05:37 UTC
Permalink
--001636832408a525bd047d60169c
Content-Type: text/plain; charset=UTF-8
Post by Parag Kalra
Post by Parag Kalra
So common folks give me some ideas.
I meant - Come on Folks :P

Cheers,
Parag
Post by Parag Kalra
Hello All,
I am looking for a geeky way to wish someone on his Birthday with the help
of Perl.
Condition is - It should be one liner which I can directly execute from the
command line.
EG: perl -e "print 'Happy Birthday Larry!!!'"
But this is very simple and you can directly make out without even
executing. I want some really nerdy way of wishing for which the Birthday
Boy has to execute it without which he cannot understand the message. :)
So common folks give me some ideas.
Cheers,
Parag
Dermot
2010-01-18 09:04:08 UTC
Permalink
Post by Parag Kalra
Post by Parag Kalra
Post by Parag Kalra
So common folks give me some ideas.
I meant - Come on Folks :P
Cheers,
Parag
Post by Parag Kalra
Hello All,
I am looking for a geeky way to wish someone on his Birthday with the help
of Perl.
Condition is - It should be one liner which I can directly execute from the
command line.
EG: perl -e "print 'Happy Birthday Larry!!!'"
But this is very simple and you can directly make out without even
executing. I want some really nerdy way of wishing for which the Birthday
Boy has to execute it without which he cannot understand the message. :)
So common folks give me some ideas.
You could try this, don't know if it's obscure enough for you though

perl -e 'print "\x48\x61\x70\x70\x79\x20\x42\x69\x72\x74\x68\x64\x61\x79\xa"'

Dp.
Jeff Peng
2010-01-18 02:12:20 UTC
Permalink
在 2010-01-17日的 23:34 +0530,Parag Kalra写道:
Post by Parag Kalra
Hello All,
I am looking for a geeky way to wish someone on his Birthday with the help
of Perl.
Condition is - It should be one liner which I can directly execute from the
command line.
EG: perl -e "print 'Happy Birthday Larry!!!'"
Google it with "just another perl hacker".
Randal L. Schwartz
2010-01-18 20:03:16 UTC
Permalink
Parag> EG: perl -e "print 'Happy Birthday Larry!!!'"

Parag> But this is very simple and you can directly make out without even
Parag> executing.

Sounds like the same question I asked when inventing JAPHs.

I'm sure you could apply nearly any JAPH technique to your birthday
message.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<***@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
Parag Kalra
2010-01-19 20:01:46 UTC
Permalink
Yes I found one really nerdy and nasty JAPH. :)

Cheers,
Parag




On Tue, Jan 19, 2010 at 1:33 AM, Randal L. Schwartz
Post by Randal L. Schwartz
Parag> EG: perl -e "print 'Happy Birthday Larry!!!'"
Parag> But this is very simple and you can directly make out without even
Parag> executing.
Sounds like the same question I asked when inventing JAPHs.
I'm sure you could apply nearly any JAPH technique to your birthday
message.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
--
http://learn.perl.org/
Steve Bertrand
2010-01-20 01:38:19 UTC
Permalink
Post by Parag Kalra
Yes I found one really nerdy and nasty JAPH. :)
...ensure that you credit the original author, out of respect, if
anything ;)

Steve
(Randal L. Schwartz)
2010-01-20 01:40:44 UTC
Permalink
Post by Parag Kalra
Yes I found one really nerdy and nasty JAPH. :)
Steve> ...ensure that you credit the original author, out of respect, if
Steve> anything ;)

In this case, *he'd* be the original author, and the author of the
JAPH would just be an inspiration, I presume.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<***@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
Steve Bertrand
2010-01-20 01:54:16 UTC
Permalink
Post by (Randal L. Schwartz)
Post by Parag Kalra
Yes I found one really nerdy and nasty JAPH. :)
Steve> ...ensure that you credit the original author, out of respect, if
Steve> anything ;)
In this case, *he'd* be the original author, and the author of the
JAPH would just be an inspiration, I presume.
My apologies...

The interpretation in my mind was that 'found' implied 'located from
somewhere/someone else'.

Either way, credit where credit is due, if necessary.

Parag, why don't you share it with us?

Steve
Parag Kalra
2010-01-20 03:46:33 UTC
Permalink
Here it comes -

perl -e "BEGIN{print 'Birthday '} UNITCHECK{print 'Sweets '} CHECK{print '@
'} INIT{print 'my '} END{print 'Desk'}"

Message is different but intention is same - Nasty & Nerdy :)

Also it works only on Windows :(

Cheers,
Parag
Post by Steve Bertrand
Post by (Randal L. Schwartz)
Post by Parag Kalra
Yes I found one really nerdy and nasty JAPH. :)
Steve> ...ensure that you credit the original author, out of respect, if
Steve> anything ;)
In this case, *he'd* be the original author, and the author of the
JAPH would just be an inspiration, I presume.
My apologies...
The interpretation in my mind was that 'found' implied 'located from
somewhere/someone else'.
Either way, credit where credit is due, if necessary.
Parag, why don't you share it with us?
Steve
Steve Bertrand
2010-01-20 03:51:50 UTC
Permalink
Post by Parag Kalra
Here it comes -
perl -e "BEGIN{print 'Birthday '} UNITCHECK{print 'Sweets '} CHECK{print
Message is different but intention is same - Nasty & Nerdy :)
Also it works only on Windows :(
...are you sure? On FreeBSD:

% perl -e "BEGIN{print 'Birthday '} UNITCHECK{print 'Sweets '}
CHECK{print '@ '} INIT{print 'my '} END{print 'Desk'}"

output:

Birthday Sweets @ my Desk

Cheers,

Steve
Parag Kalra
2010-01-20 04:24:18 UTC
Permalink
I didn't get a chance to try on Mac, FreeBSD and Solaris.

Also I guess it has nothing to do with OS but how the
shell/terminal/console/CMD interprets the syntax of the one liner.

Kindly correct me if I am wrong.

BTW currently I use Windoze at work place and Ubuntu @ Home. So soon
planning buy Macbook Pro. Hence wanted to know your feedback on Perl in Mac.

Also not a relevant question to ask here - but has anyone tried installing
Ubuntu on Mac. ;-)

Cheers,
Parag
Post by Steve Bertrand
Post by Parag Kalra
Here it comes -
perl -e "BEGIN{print 'Birthday '} UNITCHECK{print 'Sweets '} CHECK{print
Message is different but intention is same - Nasty & Nerdy :)
Also it works only on Windows :(
% perl -e "BEGIN{print 'Birthday '} UNITCHECK{print 'Sweets '}
Cheers,
Steve
Randal L. Schwartz
2010-01-20 04:30:37 UTC
Permalink
Parag> I didn't get a chance to try on Mac, FreeBSD and Solaris.

Parag> Also I guess it has nothing to do with OS but how the
Parag> shell/terminal/console/CMD interprets the syntax of the one liner.

No, because every modern Unixy Perl should interpret that correctly.

Parag> Also not a relevant question to ask here - but has anyone tried
Parag> installing Ubuntu on Mac. ;-)

Yes, and they're generally unhappy. Nothing supports Mac hardware like OSX.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<***@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
Jim Gibson
2010-01-20 05:11:54 UTC
Permalink
Post by Parag Kalra
I didn't get a chance to try on Mac, FreeBSD and Solaris.
planning buy Macbook Pro. Hence wanted to know your feedback on Perl in Mac.
Perl works fine on a Mac. You can use the one that comes with the OS
(you may have to install the Developer tools): 5.10.0 for Snow
Leopard (10.6.2), or install the latest version yourself. CPAN works
as well for installing modules.

Loading...