#!/usr/bin/perl print "String: "; ($a = ); print "Number of times: "; chomp($b = ); $c = $a x $b; print "The result is:\n$c";