From: Tim <er...@58...> - 2013-07-01 14:21:18
|
Greetings, Lets say I have a .yaws page with two <erl> chunks: <erl module=identify> out(Arg) -> {html, "Cats"}. whatCat() -> "Burmese". </erl> <erl> out(Arg) -> {html, identify:whatCat()}. </erl> I expect the output to be: Cats Burmese but instead I just get an error, of which the relevant part seems to be: Stack: [{identify,whatCat,[],[]}, What am I doing wrong? What is the correct way to reference a function in a different chunk of the same .yaws page? Cheers. |