Help for this page

Select Code to Download


  1. or download this
    <foo>hah!</foo>
    
  2. or download this
    print font( { color => "red" }, "This text is in red");
    
  3. or download this
    <font color="red">This text is in red</font>
    
  4. or download this
    span({style=>"color:red"}, "This text is in red");
    
  5. or download this
    print p("I like <font color='red'>red</font> text");
    # or
    print p("I like ", font({color=>"red"}, "red"), " text");
    
  6. or download this
    print <<END_OF_TEXT;
    <p>I like <font color="red">red</font> text.</p>
    END_OF_TEXT
    
  7. or download this
    
    perl -e 'print "How sweet does a rose smell? "; chomp ($n = <STDIN>); 
    +$rose = "smells sweet to degree $n"; *other_name = *rose; print "$oth
    +er_name\n"'