if ($append) { open(MYOUTFILE, ">>filename.out"); # open for append } else { open(MYOUTFILE, ">filename.out"); #open for (over)write }
In reply to Re: Perl text file writing
by duckyd
in thread Perl text file writing
by phazelwood
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |