What you probably saw was:
for ($os_arch) { if (/x86_64/) {
Which is short for:
for my $os_type ($os_arch) { if ($os_type =~ m/x86_64/) {
In reply to Re^3: simple "if.. elsif.. else.." statements, trying "for.. if.." too
by jwkrahn
in thread simple "if.. elsif.. else.." statements, trying "for.. if.." too
by JBzh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |