[erlang-questions] Why we need a -module() attribute?

Richard A. O'Keefe ok@REDACTED
Tue Feb 23 00:12:33 CET 2016


The little AWK program is indeed neat, but it goes in the broken direction
(from file name to module name) not the working direction (from module
name to file name).  This is the whole problem: given a file name,
we cannot cross-platform reliably reconstruct a module name.





More information about the erlang-questions mailing list