>? when i install perl on windows please help me

tunnelRat's Avatar, Join Date: Oct 2007
Go4Expert Member
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
tunnelRat's Avatar, Join Date: Oct 2007
Go4Expert Member
or when i right perl -v oin command it says wrong command and stuff when i have perl installed whats wrong ppl please help
naveen's Avatar
Go4Expert Member
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