Language learning refers to the problem of inferring a mathematical model which represents a formal language.Existing language learning algorithms do not make use of prefix queries, which provide additional information about where parsing failed.PL* is a novel language learning algorithm that uses prefix queries, improving efficiency and accuracy compared to the classical L* algorithm.PL* can accurately learn a range of languages of practical interest in a more constrained setting with only prefix queries available.