Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Active Perl Installation on Windows operating system

by pavunkumar (Scribe)
on Jun 16, 2010 at 06:15 UTC ( #844973=perlquestion: print w/replies, xml ) Need Help??
pavunkumar has asked for the wisdom of the Perl Monks concerning the following question:

Hi all.

I have installed the Active perl in my windows OS. I have followed below url procedure to install

Active Perl Installation

after done with that .. I have tried to run "perl -v " in command line . But it says me following error. The system cannot execute the specified prgoram
Now What I need to do to solve this issues ..
Any one help me out of this problem...

Thanks ..
  • Comment on Active Perl Installation on Windows operating system

Replies are listed 'Best First'.
Re: Active Perl Installation on Windows operating system
by BrowserUk (Pope) on Jun 16, 2010 at 10:16 UTC

    Close your console windows(s) and open new ones.

    Consoles open prior to the installation will not have the Perl/bin directory in the path. New sessions will (assuming you left that option checked!).

    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.
Re: Active Perl Installation on Windows operating system
by Anonymous Monk on Jun 16, 2010 at 06:33 UTC

      I think, a reboot isn't necessary if you are adding it manually.

Re: Active Perl Installation on Windows operating system
by Gangabass (Vicar) on Jun 16, 2010 at 08:25 UTC
      For the benefit of the OP, if the OP didn't install with admin privileges, then c:/bin/perl might not have been added to the PATH, and the above commands will tell you if perl is installed at all (as a default ActivePerl installation). In which case you can create a shortcut similar to what is described in bart's journal to adjust the path before getting to the command line.

      Also, the OP should mention that this question has already been asked.

Re: Active Perl Installation on Windows operating system
by biohisham (Priest) on Jun 16, 2010 at 09:16 UTC
    While this is just a guess, have you followed the default installation options or customized your installation of AS Perl? Have you installed in the default mode or maybe another boot mode? The message seems to be describing a Windows error..

    A Google Search seems to testify to that end...

    Excellence is an Endeavor of Persistence. A Year-Old Monk :D .
Re: Active Perl Installation on Windows operating system
by affc (Scribe) on Jun 16, 2010 at 10:53 UTC

      BrowserUK has it right. I've done this a bizillion times, starting with Win95. System environment variables are "inherited" by a command shell and not updated in any way, so you just have to close it and open a new one. Once ActivePerl is installed, you can verify the path this way:

      In a newly opened command shell, type "path" to list the current path.

      In the Windows system:

      1. Right-click on the Computer icon.
      2. Select Properties.
      3. Select the Advanced tab (depends on version of Windows).
      4. Click the Environment Variables button. Look for the PATH entry.

      No reboots necessary.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://844973]
Approved by ikegami
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2018-06-22 07:14 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (122 votes). Check out past polls.