Created
November 21, 2019 14:59
-
-
Save louiee/ce78c6ec179fd5f4ec5c1d50af0bf945 to your computer and use it in GitHub Desktop.
値とキーをカンマ区切りにしてるもの
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/perl | |
use 5.010; | |
my @t = qw/ | |
c19001,ID | |
s19001,ID | |
IT COLLEGE,School | |
GAIGO,School | |
Game Creater,Class | |
3.Level | |
Japan,Country | |
Okinawa,Pref/; | |
for(@t){ | |
$_ =~ /(.*),(.*)/; | |
say "$2 = $1"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment