| Server IP : 88.99.149.37 / Your IP : 216.73.216.141 Web Server : nginx/1.31.2 System : Linux server-88-99-149-37 6.12.0-124.56.5.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May 15 06:12:08 EDT 2026 x86_64 User : muralimurth ( 1015) PHP Version : 8.4.23 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/doc/perl-Module-Build/contrib/ |
Upload File : |
# Module::Build Bash completion function
# Contributed by Julian Mehnle <julian@mehnle.net>
# $Id$
# vim:syn=sh
if
actions=$(
perl -M'Module::Build' -le 'print foreach Module::Build->known_actions' 2>/dev/null
) &&
properties=$(
perl -M'Module::Build' -le 'print foreach sort Module::Build->valid_properties' 2>/dev/null
)
then
eval "_Build_actions () { echo '$actions'; }"
eval "_Build_properties () { echo '$properties'; }"
unset -v actions properties
_Build () {
local word=${COMP_WORDS[COMP_CWORD]}
#local prev_word=${COMP_WORDS[COMP_CWORD-1]}
#local action=${COMP_WORDS[1]}
if (( $COMP_CWORD == 1 )); then
# Complete actions:
local IFS_org="$IFS"
IFS=$'\x1F\t\n'
# Avoid space (\x20) as a word separator to make the following -S ' ' work.
COMPREPLY=($( compgen -W "$(_Build_actions)" -S ' ' -- "$word" ))
IFS="$IFS_org"
else
# Complete properties:
COMPREPLY=($( compgen -W "$(_Build_properties)" -S = -- "$word" ))
fi
return 0
}
complete -o nospace -F _Build Build
fi