\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 alphabetic character.) #### perl -e 'print "How sweet does a rose smell? "; chomp ($n = ); $rose = "smells sweet to degree $n"; *other_name = *rose; print "$other_name\n"'