Snippets

sironekotoro Perl入学式 2018 第2回 復習問題 stdin.pl

Created by sironekotoro
#!/usr/bin/env perl
use strict;
use warnings;

# Perl入学式 2018 第2回 復習問題
# https://github.com/perl-entrance-org/workshop-2018/blob/master/2nd/practice.md
# 復習問題(stdin.pl)

print "INPUT some word > ";
my $input = <STDIN>;
chomp $input;
print "Your input word is > $input\n";

Comments (0)