[erlang-questions] Simple redirection question

David Mitchell monch1962@REDACTED
Sat May 24 15:08:42 CEST 2008


Never mind - this works...

T = list_to_atom("os").
T:getenv().

Dave M.

2008/5/24 David Mitchell <monch1962@REDACTED>:
> Hello group,
>
> I've got what's probably a very simple problem, but I can't work out
> how to do it.
>
> Simple code sample:
> T = "os".
> T:getenv().
>
> I want the second line to perform "os:getenv()", but can't work out
> how to do it.  I figure it must be possible to do this sort of
> redirection somehow...
>
> Any suggestions?
>
> Thanks in advance
>
> Dave M.
>



More information about the erlang-questions mailing list