[erlang-questions] Can epp_dodge:parse accept a ram_file?

Leo Liu <>
Tue Feb 11 07:28:04 CET 2014


On 2014-02-11 14:08 +0800, Bengt Kleberg wrote:
> Greetings,

Hi,

> The documentation for file:open/2 says that the ram option will give
> "an fd() which lets the file module operate on the data in-memory as
> if it is a file." We are not assured that epp_dodger:parse/3 will
> accept it. Your test seems to show that it does not.
>
> Have you tried the fd() from ram with the io module, too?

I just did with io:get_chars/3 and io:read/2 but getting the same error
anyways.

> bengt

Leo




More information about the erlang-questions mailing list