Created
December 7, 2012 07:25
-
-
Save S2/4231471 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/local/bin/perl | |
use 5.14.2; | |
use strict; | |
use warnings; | |
use utf8; | |
my @hoge = qw/aaa bbb/; | |
my @fuga = qw/111 222/; | |
for(@hoge){ | |
say "outer:$_"; # aaa or bbb | |
for(@fuga){ | |
say "inner:$_"; # 111 222 | |
} | |
say "outer:$_"; # aaa or bbb | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment