I think from reading perldoc perlvar about a thousand lines is help for% ENV. Is there any way to find this from the command line directly?
On my windows machine I tried the following
perldoc ENV perldoc %ENV perldoc %%ENV perldoc -r ENV (returns info about Use Env) perldoc -r %ENV perldoc -r %%%ENV perldoc -r %%%%ENV (says No documentation found for "%ENV")
In fact, no one returns information about the% ENV variable.
How do I use perldoc to learn about% ENV if I don't want eye-grep across thousands of lines?
I tried the suggested "perldoc perlvar" and then typed /% ENV, but nothing happens.
perl -v: This is perl, v5.8.0 built for MSWin32-x86-multi-thread
Although I asked about% ENV, this also applies to any general term, so knowing that% ENV is in perlvar, this example will not help me the next time I don't know which section.
Is there a way to get perldoc to dump everything (ugh) and I can grep the output?
source share