Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

The Lighter Side of Perl Culture (Part IV): Golf

by eyepopslikeamosquito (Chancellor)
on Mar 06, 2005 at 12:30 UTC ( #437032=perlmeditation: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
          class HelloWorldApp {
             public static void main(String[] args) {
                System.out.println("Hello World!");
  2. or download this
    print "Hello World\n";
  3. or download this
    say "Hello World";
  4. or download this
    : >Well, if that's your goal, you're gonna have to work a little harde
    : >I sent this out last week, but it never made it off my machine.  It
    Well, hey, I said you'd have to work a *little* harder, not a lot hard
    +er.  :-)
  5. or download this
    1  Ton Hospel                 $ 4,384,000.00 (10/13)
    2  Rick Klement               $ 3,712,000.00 (12/13)
    3  Eugene van der Pijll       $ 3,540,000.00 (10/13)
    4  Stephen Turner             $ 1,955,200.00 (11/13)
    5  Mtv Europe                 $ 1,837,040.00 (9/13)
  6. or download this
    "@{+b},\n@b,\nTake one down, pass it around,\n@{+b}.\n"
  7. or download this
    : OK.  Still, it'd be nice to get anonymous scalars somehow.
    The Huffman encoding of that is do{\my$x}.
  8. or download this
    Golfing Technique                     Inventor           Year
    -----------------                     --------           ----
    -i and $^I for data value             The Sperling       2002
    Control @- via regex parens aka       The ySas           2008
    ySas' device, see [id://851128]

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://437032]
Approved by Corion
Front-paged by rlb3
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2015-11-27 18:30 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (731 votes), past polls