Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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?
[marto]: I can't even access client email, nor my employers since those idiots moved to citrix
[marto]: it literally doesn't work. Also, via their citrix interface theres no way to open attachments, or upload an attachment for sending. The company policy is that you email you work account from a personal one, and forward it on from there :/
[Corion]: marto: Ouch :/ And having that as a (written) policy strikes me as inane...
[Corion]: So maybe you can use that momentum in the household instead, or use it for taxes or other chores ;)

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2018-01-16 08:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (175 votes). Check out past polls.

    Notices?