3 # yu2can - convert CSV file to Canna dictionary
5 # by Yoshito Komatsu <yoshito.komatsu@nifty.com>
8 $yubinfile = './ken_all.csv';
9 $jigyoshofile = './jigyosyo.csv';
11 open (CSV, $yubinfile);
16 @tmp = split (/\,/, $_);
18 print "${seven} \#CN ";
19 $jusho = $tmp[6] . $tmp[7] . $tmp[8];
24 open (CSV, $jigyoshofile);
29 @tmp = split (/\,/, $_);
31 print "${seven} \#CN ";
32 $jusho = $tmp[2] . " " . $tmp[3] . $tmp[4] . $tmp[5] . $tmp[6];
33 my $len = length ($jusho);