> this code: > print qq#text here#; > Is not quite like this code: > print qq #text here#; This is the way in perl, because the # token means a beginning of a comment. If you make your tokenizer/grammar in a similar fashion, then your parser will also handle this case like perl does.