Erlang: include module and call functions

Viewed 3672

I am going through Erlang code.

tes_lib:check_operational(Config)

The above code is present in a module called Sample.erl.

I am new to this language. My question is that I cannot see any include statement for the module tes_lib in Sample.erl. So, how come Sample.erl is able to call the function check_operational using tes_lib module?

I thought that it should be like Java, where we first import the class and then call the function.

1 Answers
Related