Dne 25. 09. 19 v 21:44 Michał Górny napsal(a): > On Wed, 2019-09-25 at 20:47 +0200, Miroslav Šulc wrote: >> ... > I don't think you need two branches here. Non-array variable is > equivalent to an array with a single element for the purpose of [@], so > your 'for' loop will work correctly both for non-array and array. thanks, you're right, i simplified the patch (attached) and all my tests passed. miroslav