in reply to Re^2: mkdir with variable mask
in thread mkdir with variable mask

Good point. until now, I used catfile more often than catdir, so it came faster to my mind.

I will correct my codes accordingly. catdir should be used here.