At 20:10 23/01/2031 -0500, James D Carella wrote:
>Hello,
Hello.
> Can someone help me please?
Probably: you're in the right place. Let's see.
> I am definitely starting out in the
>programming thing and I am trying and learning Perl.
Good place to start ;)
>I have downloaded
>the newest version and to my knowledge it has been installed correctly.
Okay.
>What I need help with is the DOS command line part of a simple script. I
>will write the script in Notepad
Oh, yuck! Aren't you disgusted with Notepad already?!
I use www.textpad.com 's shareware editor: great syntax
highlighting for Perl (download perl3.syn from their
download add-ons section!), and you can even get it to
send your scripts straight from Perl at the press of a
button.
>and then save it correctly. When I go
>to open it in the DOS command prompt it wont work and it just keeps on
>saying something like "Bad command or file name". I can't seem to just
Sounds like you haven't got Perl on your PATH.
If you're running Win2k, right click MY COMPUTER,
select PROPERTIES -> ADVANCED -> ENVIRONMENT VARIABLES
-> SYSTEM VARIABLES -> EDIT 'path'. This contains
a list of paths to programs, separated by semi-colons.
Add the path to dir where Perl resides usually C:/perl/bin)
and don't forget the semi-colon to separate it from
other paths.
If you're running Win9*, open your AUTOEXEC.bat file;
add at the bottom the line:
PATH=%PATH%;c:/perl/bin/
where c:/perl/bin/ is the path to the dir where Perl.exe
resides.
Then open a command window and type 'perl -v' without
the quotes, and you should get a message saying which
version of perl you have installed. If you don't get
that, check the above steps again.
>run it in the DOS command prompt and when I find the file in Microsoft
>Explorer and double-click it it seems to run by opening a DOS window and
>flashing quickly the script that I wrote in Notepad. So I have said all
Because you have the file's extension automatically associated
with Perl.exe (done in the AS install).
HTH
lee
>that to say this; that is it supposed to flash that DOS window with the
>script in it? And also please tell me what to do with running it from
>the DOS command line. For anyone' s information, I am using a tutotial
>from programmingtutorials.com under Perl tutorials. It is the first
>tutorial and it is titled something like "Robert's Perl Tutorial". Sorry
>to be so detailed. This the only way to ask for help. E-mail me back at
>[EMAIL PROTECTED]
>
>
> Sincerely,
>
>
> James Carella
>
>
>_______________________________________________
>Perl-Win32-Users mailing list
>[EMAIL PROTECTED]
>http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users