$ perl -wle 'print "\."' . # so it's the same as /./ $ perl -wle 'print "\\."' \. # as a regex, matches a literal dot