MOON
Server: Apache
System: Linux server1.studioinfinity.com.br 2.6.32-954.3.5.lve1.4.90.el6.x86_64 #1 SMP Tue Feb 21 12:26:30 UTC 2023 x86_64
User: artinside (517)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/share/zsh/4.3.11/functions/_perl_basepods
#autoload
#
# _perl_basepods - zsh completion function
#
# Adam Spiers <adam@spiers.net>
#
# Calculate all installed Perl base pods (perlfunc, perlfaq etc.).
# The result is cached for future use.
#

if (( ! $+_perl_basepods )); then
  typeset -agU _perl_basepods

  if (( ${+commands[basepods]} )); then
    _perl_basepods=( ${$(basepods):t:r} )
  else
    local podpath

    podpath=$(perl -MConfig -e 'print "$Config{installprivlib}/pod"')

    if [[ ! -e $podpath/perl.pod ]]; then
      _message "can't find perl.pod from Config.pm; giving up"
      return 1
    else
      _perl_basepods=( ${podpath}/*.pod(:r:t) )
    fi
  fi
fi

local expl

_wanted pods expl 'perl base pod' compadd -a "$@" - _perl_basepods