Help for this page

Select Code to Download


  1. or download this
    use CGI;
    use CGI::Carp qw(fatalsToBrowser);
    
  2. or download this
    print "content-type: text/html \n\n";
    
  3. or download this
    my @Dice = qw(1d4 1d6 1d8 1d10 1d12 1d20);
    
  4. or download this
    my @Color = (
    "<span class=\"mut\" style=\"color:#f00;\">red</span>",
    ...
    "<span class=\"mut\" style=\"color:#fff;\">white</span>",
    "<span class=\"mut\" style=\"color:#000;\">black</span>"
    );
    
  5. or download this
    my @Colors = (
    "f00;\">red",
    ...
    "000;\">black"
    );
    my $Color = "<span class=\"mut\" style=\"color:#$Colors[rand @Colors]<
    +/span>";
    
  6. or download this
    my %Colors = (
    red     =>f00,
    ...
    white   =>fff,
    black   =>000
    );
    
  7. or download this
    <span class="mut" style="color:(color code)">(color name)</span>