XP is just a number | |
PerlMonks |
Re: Re: 2-strange side effect with FHby blm (Hermit) |
on Oct 22, 2002 at 11:52 UTC ( [id://207041]=note: print w/replies, xml ) | Need Help?? |
Here is what happens for me when I run that script without editing
For more information about what the above post indicates might be happening read perldoc seek. It says: On some systems you have to do a seek whenever you switch between reading and writing. Amongst other things, this may have the effect of calling stdio's clearerr(3). A WHENCE of 1 (SEEK_CUR) is useful for not moving the file position:
Updated: Include the output of the posted sample so everyone can see. --blm--
In Section
Seekers of Perl Wisdom
|
|