I can see it going either way. Quenya was the "Latin" of Middle earth and Gandalf's "native" tounge. Of course, though, Sindarin was in the Third Age the more commonly used language (among the Elves). I see Perl as a language that is extremely accessable and easily learned by those without lots of prior progamming experience. So, in that case, Sindarin would be the apropriate choice.