in reply to More File/Directory Trouble

There's another issue here that nobody has spotted - perl won't make the intermediate directories if you try and open foo/bar/baz.dat - you'll get a "No such file or directory" error. If this is part of code that gets other values of $name from somewhere, you'll have to make the directories with perlfunc 'mkdir' first. Baz