in reply to Re: mmap in Perl?
in thread mmap in Perl?
I´m the author of File::Map. Due to circumstances I can't test or fix this right now, that will have to wait until next week.
This definitely is a bug, I´ll fix it as soon as I´m back home. Data loss as is observed here is not acceptable. Something seems to go wrong in the detection of direct assignment, it should have given a warning and then fix things up.
As for your second question: all other memory mapping modules either have the same issue of requiring substr() assignment to work properly, or use ties which cause the file to be copied completely on each read or write. The latter clearly isn't any better than the former IMSNHO.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: mmap in Perl?
by jakobi (Pilgrim) on Oct 21, 2009 at 20:57 UTC | |
by Anonymous Monk on Oct 22, 2009 at 12:05 UTC |