Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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
    +r.
    : >I sent this out last week, but it never made it off my machine.  It
    +'s
    ...
    Well, hey, I said you'd have to work a *little* harder, not a lot hard
    +er.  :-)
    
    Larry
    
  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
    sub
    b{[@b=(abs||No,bottle."s"x!!++$_,of,beer),on,the,wall]}print
    "@{+b},\n@b,\nTake one down, pass it around,\n@{+b}.\n"
    for-pop||-99..-1
    
  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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://437032]
Approved by Corion
Front-paged by rlb3
help
Chatterbox?
[stevieb]: perldigious: video near our hq in Montreal. Here in Calgary, it's -28c... we've only got 3" of snow so far, but there are several feet in the mountains already
[perldigious]: Snowshoeing time stevieb? I need to buy a pair so I can walk my German Shepherd properly through the country.
[stevieb]: yeah, I snowshoe a fair amount in the mountains. I also use spikes similar to these very often as well
[perldigious]: Discipulus: alternate link
[stevieb]: LOL you can easily replace "Helsinki" with "Alberta"
[perldigious]: I used to live at the top of a very steep hill stevieb, I can relate to the video. Literally used to have to build up momentum and try to force my vehicle to make it up the hill to park in my driveway properly... didn't always make it.

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (10)
As of 2016-12-06 16:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (112 votes). Check out past polls.