Fork
var x = 42
{ x += 1; say x }.fork.wait # x is 43 here
say x # but here is still 42
Last updated
Was this helpful?
var x = 42
{ x += 1; say x }.fork.wait # x is 43 here
say x # but here is still 42
Last updated
Was this helpful?