One way is to run DOS attrib command from your perl. Look up attrib command.
In reply to Re: mkdir() problem on windows by PeterPeiGuo in thread mkdir() problem on windows by myuserid7