From the docs (perldoc -f open:):
You can put a '+' in front of the '>' or '<' to indicate that you want both read and write access to the file; thus '+<' is almost always preferred for read/write updates--the '+>' mode would clobber the file first.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
In reply to Re: Clarification on the write read mode of filehandling
by roboticus
in thread Clarification on the write read mode of filehandling
by I_love_perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |