Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

(crazyinsomniac) Re: Shoot yourself on the foot

by crazyinsomniac (Prior)
on Jan 24, 2002 at 01:55 UTC ( #141039=note: print w/replies, xml ) Need Help??

in reply to Shoot yourself on the foot

Here it is, straight from the "olden times" of pm, as it appeared on my homenode for some time:
And now it has come time to Shoot Yourself in the Foot with PERL
You stab yourself in the foot repeatedly with an incredibly large and very heavy Swiss Army knife.
You pick up the gun and begin to load it. The gun and your foot begin to grow to huge proportions and the world around you slows down, until the gun fires. It makes a tiny hole, which you don't feel.
That was an excerpt from the famed "How to Shoot yourself in foot in $programmingLanguage". Here's my version:
You stab yourself in the foot repeatedly with an incredibly large and very heavy Swiss Army knife, causing a big mess, but accomplishing your goal. Some time later, you figure out how to take apart the knife and use it properly, so you stab yourself again, but with greater precision and ease.

Of all the things I've lost, I miss my mind the most.
perl -e "$q=$_;map({chr unpack qq;H*;,$_}split(q;;,q*H*));print;$q/$q;"

  • Comment on (crazyinsomniac) Re: Shoot yourself on the foot

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://141039]
[TStanley]: I am heading to Arlington, Virginia next week, then I get to spend an entire week at home. Looking forward to that as I will have spent 7 weeks on the road by the end of next week
[talexb]: That's a long road trip. I haven't travelled for business in years.

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (9)
As of 2017-06-23 14:25 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (548 votes). Check out past polls.