in reply to Re: Print output file to a directoryin thread Print output file to a directory
mkdir "New Files";
chdir "New Files";
open O, ">NewTextFile.txt" or die "Can't: $!";
print O "Hi there\n";
Electric eels were invented at the same time as electricity
Before electricity was invented, electric eels had to stun with gas
Results (371 votes). Check out past polls.