Last active
November 30, 2015 03:50
-
-
Save tomcha/ea9027e72462f7c90e41 to your computer and use it in GitHub Desktop.
23
This file contains 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 strict; | |
use warnings; | |
my $name; | |
my $nick; | |
print '名前を入力して下さい>>>'; | |
$name = <STDIN>; | |
chomp $name; | |
print 'ニックネームを入力して下さい>>>'; | |
$nick = <STDIN>; | |
chomp $nick; | |
print "$nameさんのニックネームは$nickです。\n"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment