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";
In Section
Seekers of Perl Wisdom