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


in reply to Print output file to a directory

it's easy enough. Just do like this:
#!/usr/bin/env perl mkdir "New Files"; open O, ">New Files/NewTextFile.txt" or die "Can't: $!"; print O "Hi there\n";