Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Finding perl path in my own system? using ActivePerl...

Status
Not open for further replies.

nickson

MIS
May 17, 2001
4
SG
I'm having problems finding correct perl path in my hard drive, I know it shouldn't be something like usr/bin/perl when in hard drive, instead d:/perl/bin/perl

Stuff I have installed or use:
- Windows 98
- ActivePerl

I installed activeperl by default, it is in my D drive, full location is D:/Perl

I also tried typing "whereis perl" in my console, but no results
If you know how to solve my problem, please do tell.
thanks in advance
-Nick
 
uh, doesn't windows have a find file thingy in the start menu? can't u just type in perl and have it show u where itz @? "If you think you're too small to make a difference, try spending a night in a closed tent with a mosquito."
 
that's true but I need the locale or path, it should be similar to /usr/bin/perl or /usr/local/lib/perl, the difference, it is in my hard drive and should be something like /d:/perl/bin/perl, but I don't know how to find it.
 
Nickson,

Stillflame's suggestion is what you want. You can find out where perl.exe is by searching for it usinf the find program. Right click on "Start" and choose find.

If you don't have any luck with that you can open a DOS window (a command window) and type

cd dir /s perl.exe

It will then show you where perl.exe is; mine is in c:\perl\bin\perl.exe and I think that's the default place for it.

Get back to us if you have problems.

Regards,
Mike
michael.j.lacey@ntlworld.com
Email welcome if you're in a hurry or something -- but post in tek-tips as well please, and I will post my reply here as well.
 
Thank you guys!
I wasn't aware that perl.exe is actually the path.
Precise location is d:/perl/bin/perl.exe
therefore, is that my path to perl (locale)?

I'll try by testing the guestbook or sendmail in my own server (SimpleServer I've made a cgi-bin and I'll try to work things out. If I'm having problems, I'll come back to you.
once again, thanks for help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top