in reply to Tab completion of path from prompt from within Perl script

How about Term::Completion?

  • Comment on Re: Tab completion of path from prompt from within Perl script

Replies are listed 'Best First'.
Re^2: Tab completion of path from prompt from within Perl script
by nysus (Parson) on Aug 17, 2018 at 15:42 UTC

    Worked perfectly. Thanks!

    $PM = "Perl Monk's";
    $MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest";
    $nysus = $PM . ' ' . $MCF;
    Click here if you love Perl Monks

      Glad to hear it. Now I'm going to show you how to fish.

      I was totally unaware of this module prior to this afternoon. To find it I went to https://metacpan.org and in the search box typed "term tab" without pressing return. This popped up a bunch of Term::Table* modules which isn't what we were after, so I deleted the "tab" part and typed "compl" in its place. Click on the first entry which pops up, et voila!

      Now you too will be able to find modules you didn't know existed. Happy Friday.