in reply to Newbie Question
In the open, note the direction of the chevron. If it points towards the filename, it writes to it. If it points the other direction, it reads from it.open (OUTFILE, ">/path/to/file.txt") or die "Can't open file for text +output!\n"; print OUTFILE 'Some text you want to print to the file'; close OUTFILE;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: Newbie Question
by autark (Friar) on Oct 25, 2000 at 14:11 UTC |