This isn't good advice; learning Prolog doesn't make learning Erlang any easier at all (not even the syntax, but especially not the semantics). The syntax of Erlang is actually very simple, and mostly an accident of history since Erlang was originally implemented in Prolog[1].
1 - http://stackoverflow.com/questions/3542891/erlang-programmin...