Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Dueling Flamingos: The Story of the Fonality Christmas Golf Challenge

by eyepopslikeamosquito (Chancellor)
on Jan 12, 2007 at 03:12 UTC ( #594299=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    II plus III minus I
  2. or download this
  3. or download this
    #!perl -lp
    map{$_.=(!y/IVXLC/XLCDM/,I,II,III,IV,V,VI,VII,VIII,IX)[$&]while s/\d//
  4. or download this
    #!perl -lp
    # r() converts an arabic number (1..3999 or -3999..-1) to a roman nume
    s''$';                         # Step 1: prepend $
    $$_=r(),$$$_=$_ for-3999..-1;  # Step 2: build two sets of symbolic re
    $_=${+eval};                   # Step 3: eval the expression
  5. or download this
    #!perl -lp040
  6. or download this
    #!perl -lp
    @@{@@=map{$_,$_.0,$_*100}4,5,9,10}=qw(IV XL CD V L D IX XC CM X C M);f
    +or$~(@@){s/$@{$~}/"I "x$~/ge}s/I//while s/m\w* +I/m /;$~=y/I//cd;s/I{
  7. or download this
        { in => "MD plus I\n",
          out => 'MDI' . "\n" },
        { in => "MD minus I\n",
          out => 'MCDXCIX' . "\n" },
  8. or download this
    #!perl -lp
  9. or download this
    #!perl -lp
  10. or download this
    #!perl -lp
    map{y/IVXLC/XLCDM/,s!\d!$&^4?$&^9?V x($&>3).I x($&%5):IX:IV!ewhile//;$
  11. or download this
    #!perl -lp
  12. or download this
    #!perl -lp
  13. or download this
    #!perl -pl
  14. or download this
    #!perl -pl
  15. or download this
    #!perl -pl
  16. or download this
    #!perl -lp
  17. or download this
    #!perl -pl
  18. or download this
    #!perl -pl
    +iul-}/-$+ /%s''$';*_=eval

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://594299]
Approved by GrandFather
Front-paged by McDarren
[erix]: 1=0 is as short as TOP :)
[erix]: "code of someone that died" -- kinda nice if your code stops working too
[erix]: hard to implement, hmm
[Corion]: erix: Well, they also seem to have changed the server, or some software, or whatever, and seem to be in the process of changing the DB schema from having the "username" as primary key to something else.
[Corion]: Far too many things being done at once, or maybe only now has it become apparent that nobody knows that piece of software anymore
[marto]: good morning all
[Corion]: I consider having an abstract key as userid in your system good, because the "real" company-wide (or even larger) user id will likely not fit your criteria well
[Corion]: A good morning marto!

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2017-01-23 09:35 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (192 votes). Check out past polls.