![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^2: How to make EOF?by roboticus (Chancellor) |
on Mar 04, 2009 at 21:21 UTC ( [id://748324]=note: print w/replies, xml ) | Need Help?? |
samtregar:
Minor (historical) detail: In fact, some operating systems *do* use an EOL marker in files. For example, in CP/M, the directory entries tell you which sectors hold data, but not how many bytes are in your files. So text files would use a ^Z to mark the end of the document. That carried over into DOS, so in DOS programs you'll often find some ^Z characters in files. Thank goodness we no longer have to deal with *that* mess! ...roboticus
In Section
Seekers of Perl Wisdom
|
|