Mega Code Archive

 
Categories / Perl / String
 

Repetition; print 10 stars

#!/usr/bin/perl $line="*"; $line x= 10;       # Repetition; print 10 stars print "$line\n"; printf "\$var is %.2f\n", $var=4.2 + 4.69;