How about Term::Completion?
In reply to Re: Tab completion of path from prompt from within Perl script by hippo in thread Tab completion of path from prompt from within Perl script by nysus