The '+>' mode will clobber the file before writing anything to it, it is only useful if you may want to reread what you just wrote. If you want to read and then write (anew), use the '+<' mode.
In reply to Re: Clarification on the write read mode of filehandling
by Laurent_R
in thread Clarification on the write read mode of filehandling
by I_love_perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |