Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

The golf course looks great, my swing feels good, I like my chances (Part V)

by eyepopslikeamosquito (Canon)
on Dec 09, 2009 at 13:24 UTC ( #811919=perlmeditation: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
            o
        o       o
    ...
    
        m       o
            o
    
  2. or download this
            o
        o       x
    ...
    
        o       o
            o
    
  3. or download this
    <>=~/:/;
    $h=$`%12;
    ...
    
    %5s%8s
    %9s',map$_^$h?$_^$m?o:'m':$h^$m?h:x,0,11,1,10,2,9,3,8,4,7,5,6
    
  4. or download this
    $h=$`%12;   # converts 0..23 hours   to 0..11 clock face mark
    $m=$'/5;    # converts 0..59 minutes to 0..11 clock face mark
    
  5. or download this
            0
       11       1
    ...
    
        7       5
            6
    
  6. or download this
    <>=~/:/;
    $h=$`%12;
    ...
    
    %8$5s%8s
    %9s',map$_^$h?$_^$m?o:'m':$h^$m?h:x,0..11
    
  7. or download this
    $`%12-$_?$_^$'/5?o:'m':$_^$'/5?h:x
    
  8. or download this
    ($_^$h?o:x)&($_^$m?o:'}')
    H|($_^$h?g:p)&($_^$m?g:u)
    
  9. or download this
    <>=~/:/;
    $h=$`%12;
    ...
    
    %8$5s%8s
    %9s',map{($_^$h?o:x)&($_^$m?o:'}')}0..11
    
  10. or download this
    printf'%9s
    %12$5s%8s
    ...
    
    %8$5s%8s
    %9s',map{($_^$`%12?o:x)&($_^$'/5?o:'}')}<>!~/:/..11
    
  11. or download this
    map{$_,11-$_}0..5
    
  12. or download this
    map{$_,11-$_}<>!~/:/..5
    
  13. or download this
    $:="s
    
    ...
    %";printf"%9s
    %5s%8$:s%16$:5s%8s
    %9s",map{map{($_^$`%12?o:x)&($_^$'/5?o:'}')}$_,11-$_}<>!~/:/..5
    
  14. or download this
    printf "%10.2s", "o\n\n";
    printf "%5.1s",  "o\n\n";
    ...
    printf "%5.1s",  "o\n\n";
    printf "%9.2s",  "o\n\n";
    printf "%10.2s", "o\n\n";
    
  15. or download this
            o
        o       o
    ...
    
        o       o
            o
    
  16. or download this
    102,51,103,21,163,11,183,21,163,51,92,102
    
  17. or download this
    printf"%@{[.1*vec'XXXXXXXXXXXX',$_,8]}s",($_^$`%12?g:p)&($_^$'/5?g:u)|
    +"H
    
    "for map{$_,11-$_}<>!~/:/..5
    
  18. or download this
    print$"x(318%$_/9),(($_-$`)%12?o:x)&($_%12^$'/5?o:'}'),$/x($_/85)for u
    +npack<>!~/:/.C12,'XXXXXXXXXXXX'
    
  19. or download this
      1st  101  eyepopslikeamosquito  Perl
      2nd  102  ySas                  Perl
    ...
      9th  116  smokemachine          Perl
      10th 116  ksk                   Ruby
      11th 118  Jasper                Perl
    
  20. or download this
    $z[ 0][ 8] = 'o';
    $z[ 1][11] = 'o';
    ...
    $z[ 3][ 1] = 'o';
    $z[ 1][ 4] = 'o';
    print"@$_\n"for@z;
    
  21. or download this
    z=[]
    (z[ 0]||=[])[ 8] = 'o'
    ...
    (z[ 3]||=[])[ 1] = 'o'
    (z[ 1]||=[])[ 4] = 'o'
    puts z.map{|i|(i||[]).join" "}
    
  22. or download this
    print"@$_\n"for@z;
    
  23. or download this
    sub k{vec'XXXXXXXXXXXX',$i++,4}$c[k][k]=($_^$`%12?o:x)&($_^$'/5?o:'}')
    +for<>!~/:/..11;print"@$_
    "for@c
    
  24. or download this
    $c[$_%16][$_>>4]=($i^$`%12?o:x)&($i++^$'/5?o:'}')for unpack<>!~/:/.C12
    +,'XXXXXXXXXXXX';print"@$_
    "for@c
    
  25. or download this
    x = a + r cos t
    y = b + r sin t
    
  26. or download this
    $c[$_*=.52,5.5-4.7*cos][8+7.4*sin]=($_^$`%12?o:x)&($_^$'/5?o:'}')for<>
    +!~/:/..11;print"@$_
    "for@c
    
  27. or download this
    $c[$_*=.52,5.5-4.7*cos][8+7.4*sin]=$`%12-$_?$_^$'/5?o:'m':$_^$'/5?h:x
    for<>!~/:/..11;print"@$_
    "for@c
    
  28. or download this
    print$"x(318%$_/9),(($_-$`)%12?o:x)&($_%12^$'/5?o:'}'),$/x($_/85)for u
    +npack<>!~/:/.C12,'XXXXXXXXXXXX'
    
  29. or download this
      0th   96  The Odd Couple (eyepops + Jasper)  Perl
      1st  101  eyepopslikeamosquito               Perl
    ...
      8th  115  0xF                                Perl
      9th  116  edenc                              Perl
     10th  116  smokemachine                       Perl
    
  30. or download this
      0th   96  The Odd Couple (eyepops + Jasper)
      1st  101  eyepopslikeamosquito
    ...
     38th  159  amorette
     39th  159  jshin
     40th  159  spike
    
  31. or download this
      1st  112  flagitious
      2nd  112  eyepopslikeamosquito
    ...
      8th  130  yvl
      9th  133  tpope
     10th  140  m-satyr
    
  32. or download this
      1st  127  eyepopslikeamosquito
      2nd  130  hallvabo
    ...
      8th  146  logan
      9th  149  Mark Byers
     10th  157  hendrik
    
  33. or download this
      1st 129  eyepopslikeamosquito
      2nd 133  ToastyX
    ...
      8th 191  zhato
      9th 199  Kloopy
     10th 208  phoe
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2014-11-01 00:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (226 votes), past polls