[EMAIL PROTECTED] wrote:
> Hi ,
>
> I installed Pod-Perldoc-3.12 and the latest version of perldoc but the
> problem remains.
> Why does this happen ?
>
> Chetak.
Are you trying to open perldoc to read? If so, that is not the way it was meant to be
used. The perldoc
utility is an executable shell script, meant to be called from the command line:
perldoc -f func_name
Example:
Greetings! E:\d_drive\perlStuff>perldoc -f grep
grep BLOCK LIST
grep EXPR,LIST
This is similar in spirit to, but not the same as, grep(1) and
its relatives. In particular, it is not limited to using regular
expressions.
Evaluates the BLOCK or EXPR for each element of LIST (locally
... @foo = grep(!/^#/, @bar); # weed out comments
or equivalently,
@foo = grep {!/^#/} @bar; # weed out comments
Note that $_ is an alias to the list value, so it can be used to
...
See also "map" for a list composed of the results of the BLOCK
or EXPR.
Try it that way, and let us know how it works. Start with:
perldoc perldoc
perldoc perl
Joseph
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]