Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: perldoc problem

by Xelium (Initiate)
on Aug 02, 2012 at 04:18 UTC ( [id://984939]=note: print w/replies, xml ) Need Help??


in reply to Re: perldoc problem
in thread perldoc problem

Well I still get the same error, yet I changed my path to: C:\strawberry\perl\bin;C:\Program Files (x86)\Java\jdk1.7.0_02\bin;

Replies are listed 'Best First'.
Re^3: perldoc problem
by BrowserUk (Patriarch) on Aug 02, 2012 at 04:27 UTC
    Well I still get the same error, yet I changed my path to: C:\strawberry\perl\bin;C:\Program Files (x86)\Java\jdk1.7.0_02\bin;

    You will, because when you modified your path, you threw away it original contents, part of which is the path to cmd.exe.

    1. Close your current cmd window.
    2. Open a new one.
    3. Type path %path%c:\strawberry\perl\bin; Enter.
    4. Now try your perldoc command again.

    What you should really do is add (not replace!) perl's path to your system path; then you would haven't to do it each time you start a new session.

    I'm surprised that strawberry perl's installation doesn't do that for you. Or at least tell you how to do it.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    The start of some sanity?

      I'm running Strawberry Perl on Windows 7 and it adds its bin directory to the path automatically. I didn't do anything special and certainly didn't edit the system path manually.

      I get:

      C:\Users\ian>perldoc -u -f atan2 =over 8 =item atan2 Y,X X<atan2> X<arctangent> X<tan> X<tangent> Returns the arctangent of Y/X in the range -PI to PI. For the tangent operation, you may use the C<Math::Trig::tan> function, or use the familiar relation: sub tan { sin($_[0]) / cos($_[0]) } The return value for C<atan2(0,0)> is implementation-defined; consult your atan2(3) manpage for more information. =back C:\Users\ian>

      Maybe the installer wasn't run as administrator, so it coulnd't edit the system path, on Windows Vista or later?

        I didn't do anything special and certainly didn't edit the system path manually.

        As I said, I was surprised that the OPs install didn't do that for him.

        Maybe the installer wasn't run as administrator,

        That makes sense. Maybe the installer could check it has the right privileges; and yell/advise if not?


        With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.

        The start of some sanity?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://984939]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2024-04-23 15:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found