Help for this page

Select Code to Download


  1. or download this
    \d matches a single digit.
    {n} matches the previous match n times 
    (e.g. \w{5} matches five word characters in a row)
    - outside of [] matches a - 
    (inside [], it specifies a range, e.g. [a-z] matches any lowercase alp
    +habetic character.)
    
  2. 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"'