[erlang-questions] Using mod_esi:deliver() ?

Robert Raschke rtrlists@REDACTED
Mon Apr 7 15:24:26 CEST 2008


On 4/7/08, Kyösti Ranto <kranto@REDACTED> wrote:
> Accoring to the documentation, the second argument of deliver/2 can be
> either of type string() or io_list(). I don't know about the latter
> but you can convert your parameter to string() by calling
> lists:flatten(), i.e.
>
> lists:flatten(io_lib:format(...))

Ha! That did it, mod_esi:deliver() works with flat strings.

Thanks,
Robby


More information about the erlang-questions mailing list