http://qs321.pair.com?node_id=42492


in reply to A bug in PERL or a bug in the server?

Sounds to me like you've created a directory with a newline character ("\n") in it. You should use something like chomp to strip off the newline after you've read it in and before you give it to mkdir.

It probably didn't happen with the second one because there wasn't a newline at the end of the text file.

Have fun,

rdw