There is an ongoing outage on the primary CPAN mirror. It is possible to work around the issue by using MetaCPAN as a mirror.

Returns a list of completion candidates. This function takes two parameters:

  • Index of the word to complete, 0-based. If -1 is passed then list of all commands is returned.

  • A list of words already entered