[erlang-questions] Can epp_dodge:parse accept a ram_file?
Tue Feb 11 09:15:10 CET 2014
Ages ago I did a string_io module that allowed epp_dodger:parse/1 to
work on strings. Would that be of interest?
On Tue, 2014-02-11 at 14:28 +0800, Leo Liu wrote:
> On 2014-02-11 14:08 +0800, Bengt Kleberg wrote:
> > Greetings,
> > 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
> > bengt
> erlang-questions mailing list
More information about the erlang-questions