Beta

Slashdot: News for Nerds

×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

Perl Meme

Short Circuit (52384) writes | more than 5 years ago

Perl 4

#!/usr/bin/perl
# Take this perl script and modify its behavior by adding or inserting up to three lines.
# You may jump over or skip existing lines, but do not remove or modify them.
# Once you've modified it, post your version somewhere.

#!/usr/bin/perl
# Take this perl script and modify its behavior by adding or inserting up to three lines.
# You may jump over or skip existing lines, but do not remove or modify them.
# Once you've modified it, post your version somewhere.

cancel ×

4 comments

I win? ;) (1)

Qzukk (229616) | more than 5 years ago | (#26904449)

#!/usr/bin/perl
# Do not obey the next three lines
# Take this perl script and modify its behavior by adding or inserting up to three lines.
# You may jump over or skip existing lines, but do not remove or modify them.
# Once you've modified it, post your version somewhere.

Re:I win? ;) (1)

Short Circuit (52384) | more than 5 years ago | (#26904591)

#!/usr/bin/perl
# Ignore the next line. :-)
# Do not obey the next three lines
# Take this perl script and modify its behavior by adding or inserting up to three lines.
# You may jump over or skip existing lines, but do not remove or modify them.
# Once you've modified it, post your version somewhere.

Here! (0)

Anonymous Coward | more than 5 years ago | (#26904471)

#!/usr/bin/perl
# Take this perl script and modify its behavior by adding or inserting up to three lines.
# You may jump over or skip existing lines, but do not remove or modify them.
# Once you've modified it, post your version somewhere.

exit(0);

similar to a genetic algorithm... (1)

FortKnox (169099) | more than 5 years ago | (#26919975)

But to evolve a genetic algorithm, you can add a line, change a line, or delete a line...
Check for New Comments
Slashdot Account

Need an Account?

Forgot your password?

Don't worry, we never post anything without your permission.

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>
Create a Slashdot Account

Loading...