$power = 4; $binary_string = "1" . "0" x (10 * $power); # parens required print "$binary_string\n"