The Perl Toolchain Summit 2025 Needs You: You can help 🙏 Learn more

complete [options] prefix

options:

-b | --builtins
-f | --files
-p | --packages
-s | --subs

List the command completions of prefix.

Examples:

complete se # => set server
complete -p Tie::H # => Tie::Hash (probably)
complete -s Tie::Hash::n
# => Tie::Hash::new