I imagine you wanted this:
for ($os_arch) { when ("x86_64") { ... } ... }
Or:
given ($os_arch) { when ("x86_64") { ... } ... }
In reply to Re^3: simple "if.. elsif.. else.." statements, trying "for.. if.." too
by tobyink
in thread simple "if.. elsif.. else.." statements, trying "for.. if.." too
by JBzh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |