alias perlfunc='perldoc -f'
# or as a function:
function perlfunc {
local func=${1:?"Need a function name"}
perldoc "$1"
}
# add one of the above to your ".bashrc...
####
> perlfunc print
KFPMKBZGPT(1) User Contributed Perl Documentation KFPMKBZGPT(1)
print FILEHANDLE LIST
print FILEHANDLE
print LIST
print Prints a string or a list of strings. Returns true if
successful.
....
Printing to a closed pipe or socket will generate a SIGPIPE
signal. See perlipc for more on signal handling.
perl v5.16.2 2013-03-10 KFPMKBZGPT(1)
####
man perlfunc