Created
November 16, 2013 03:42
-
-
Save ryo-utsunomiya/7495651 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use v5.12; | |
use warnings; | |
print 'Enter a string: '; | |
my $str = <STDIN>; | |
print 'Enter a number of times: '; | |
chomp(my $num = <STDIN>); | |
print $str x $num; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment