in reply to printing of an array
Then you can just type the name of the function: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...
Note, the above is not the whole entry (it's a page long, but will tell you exactly what it does...> perlfunc print KFPMKBZGPT(1) User Contributed Perl Documentation KFPMK +BZGPT(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 SIG +PIPE signal. See perlipc for more on signal handling. perl v5.16.2 2013-03-10 KFPMK +BZGPT(1)
if you have your documentation installed as 'manpages',
will show you the whole list. (it's *way* long...)man perlfunc
Hope that helps...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: printing of an array
by manishrathi (Beadle) on Mar 11, 2013 at 02:37 UTC | |
by AnomalousMonk (Archbishop) on Mar 11, 2013 at 04:15 UTC | |
by perl-diddler (Chaplain) on Mar 31, 2013 at 04:38 UTC |