dynamic completion of Perl code (e.g. for tab completion)