Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Filehandles vs Uninitialized Values in pattern matchby zer (Deacon) |
on Nov 23, 2007 at 16:10 UTC ( [id://652600]=note: print w/replies, xml ) | Need Help?? |
'+<' is a better option. It will read the file as it normally would then leaves the file pointer at the end so you can append.
UpdateSidhekin is right in saying that +>> is clearer to read, however seek can be just as confusing if youve never dealt with it before.
In Section
Seekers of Perl Wisdom
|
|