Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Perl (http://www.go4expert.com/forums/perl/)
-   -   >? when i install perl on windows please help me (http://www.go4expert.com/forums/i-install-perl-windows-help-t6914/)

tunnelRat 19Oct2007 04:32

>? when i install perl on windows please help me
 
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:

tunnelRat 19Oct2007 04:35

Re: >? when i install perl on windows please help me
 
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:

naveen 19Oct2007 16:39

Re: >? when i install perl on windows please help me
 
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


All times are GMT +5.5. The time now is 12:11.