This will open the file for output, creating it if it does not already exist. '+' gives you read and write access to a file, but it will only be created if you open the file for output or appending.open (OUT, ">$inputfile.out") or die "cannot open file: $!\n";
In reply to Re: Creating file at run time
by kilinrax
in thread Creating file at run time
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |