my @a = (1, 3, 5, 7);
my @b = (2, 4, 6, 8);
my @c = (@a, @b);
print(join(", ", @c) . "\n");
키워드 : 합침, union
Monday, December 31, 2012
Perl에서 두 array 를 합치는 법
Labels:
Perl
Subscribe to:
Post Comments (Atom)
my @a = (1, 3, 5, 7);
my @b = (2, 4, 6, 8);
my @c = (@a, @b);
print(join(", ", @c) . "\n");
키워드 : 합침, union
No comments:
Post a Comment