Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    
    use strict;
    ...
    *********************************************************************
    END_OF_DAYS
    }
    
  2. or download this
    sub RtoD {
          # ... or uc(shift) to be paranoid. :-)
        my   $n =  shift          || return 0;
    ...
        if ( $n =~ /([IVXCLMD])/ ) { return $numeral{$1} }
        else                       { return 0            }
    }