Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@tomcha
Last active November 30, 2015 03:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomcha/ea9027e72462f7c90e41 to your computer and use it in GitHub Desktop.
Save tomcha/ea9027e72462f7c90e41 to your computer and use it in GitHub Desktop.
23
#!/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