in reply to Re^2: simple "if.. elsif.. else.." statements, trying "for.. if.." too
in thread simple "if.. elsif.. else.." statements, trying "for.. if.." too

I imagine you wanted this:

for ($os_arch) { when ("x86_64") { ... } ... }

Or:

given ($os_arch) { when ("x86_64") { ... } ... }
perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'