in reply to Rakudo on PowerPC Mac...

Sorry I've taken a while to come back to this thread.

A while later, having rebooted a couple of times for unconnected reasons, all is well and the script runs fine.