Topic awaiting preservation: Perl installation headache (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: The Soft Cell |
posted 12-27-2002 14:34
OK, I'm new to programing but i've got this book on perl. I'm running windows 2000 so i've downloaded ActivePerl from the activestate website and doubleclicked the installer. A perl folder had been installed on c:\ . Now what? the book tells me to open a DOS or command prompt window to type my code into. how do i get one of those? |
Paranoid (IV) Inmate From: Milwaukee |
posted 12-27-2002 15:28
It's probably in Start > Programs > Accessories > Command Prompt... |
Bipolar (III) Inmate From: Berlin (almost) |
posted 12-27-2002 15:50
Or if you're on a NT / 2000 / XP machine you'll have to type cmd instead... |
Paranoid (IV) Inmate From: The Soft Cell |
posted 12-27-2002 20:01
Thanks guys, thats done it. daresay i'll be back here for more info |
Paranoid (IV) Inmate From: Milwaukee |
posted 12-27-2002 21:05
Au contraire, Kuckus, I'm running 2000 and "command" worked also. Perhaps one is an alias of the other? Anyway, use one or the other and you'll be fine. |
Paranoid (IV) Inmate From: The Soft Cell |
posted 12-28-2002 03:28
ok, ive been at it all night and i still cant get this sucker to run. a 1 line script typed directly into the command prompt window returns the correct result. but now i've saved it as a seperate .pl file created in notepad and stored on the C disk so i presume the file path is C:\hello.pl and the file reads: |
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
posted 12-28-2002 13:25
ok, what exactly are you typing into the command line? |
Bipolar (III) Inmate From: Berlin (almost) |
posted 12-28-2002 13:36
Perfect T: Now that's news for me, but it really seems to work. I'm still saving some 4 key strokes though |
Paranoid (IV) Inmate From: The Soft Cell |
posted 12-28-2002 21:50
Petskull, after the prompt (C:\> ) i typed in: |
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
posted 12-30-2002 06:56
stupid question: is there a 'hello.pl' in your root directory? |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 12-30-2002 16:25
just a trivia fact: |
Paranoid (IV) Inmate From: The Soft Cell |
posted 12-31-2002 16:07
When I open C there are various folders of which one is perl. also on C i have the document called hello.pl |
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
posted 01-01-2003 17:22
what is mean by 'root' is the upper-most directory.. |
Paranoid (IV) Inmate From: The Soft Cell |
posted 01-02-2003 07:45
In that case then yes, both perl and hello.pl are in my root directory |
Paranoid (IV) Inmate From: The Soft Cell |
posted 01-03-2003 07:50
SORTED! |
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
posted 01-03-2003 16:17
Issue #1: Damnit- I knew it was the paths... but I haven't been able to find out where to change the path on a WinXP box-- try putting set PATH = c:\Perl\bin\;%path% in your c:\autoexec.bat file? |
Paranoid (IV) Inmate From: The Soft Cell |
posted 01-03-2003 19:29
I opened C and found the AUTOEXEC.BAT file but it is dimmed and when I double click it I get a message saying this is not a valid Win32 application. There is an autoexec.nt file in C:\WINNT\repair and one also in C:\WINNT\system32. should I attempt to open one of these via notepad and make the changes you suggested? |
Nervous Wreck (II) Inmate From: |
posted 01-03-2003 19:54
Hello Morph, |