>? when i install perl on windows please help me

Discussion in 'Perl' started by tunnelRat, Oct 19, 2007.

  1. tunnelRat

    tunnelRat New Member

    Joined:
    Oct 13, 2007
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    0
    hey when i install perl on windows and then check in command prompt if its installed by writin perldoc perl says wrong command and wheni try to make a simple one liner like perl -e"print\"hello,world!\n\";" it wont work in command prompt i instaled active perl whats wrong why dosent my command promt dont see perl how do i install perl so it works with command prompt please help me out guys im on windows xp :mad:
     
  2. tunnelRat

    tunnelRat New Member

    Joined:
    Oct 13, 2007
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    0
    or when i right perl -v oin command it says wrong command and stuff when i have perl installed whats wrong ppl please help :confused:
     
  3. naveen

    naveen New Member

    Joined:
    Jun 2, 2005
    Messages:
    39
    Likes Received:
    1
    Trophy Points:
    0
    Occupation:
    Programmer
    Location:
    Calcutta, India
    Home Page:
    http://naveenhere.blogspot.com
    Most likely, the PATH system variable has not been populated by the path of perl.exe. Go to command prompt, go to the directory where your perl is installed, for example if you installed in C:\Perl, then go to C:\Perl\bin and then type perl -v

    you can further test by executing your hello world program by typing

    Code:
    c:\Perl/bin>perl c:\perl_scripts\hello.pl
    i.e., calling the perl program from within the bin directory
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice