--- [EMAIL PROTECTED] wrote:
> Hello! I am new to Perl programming so please, bare with me.

I am typing this naked to the waist if that helps.

I have
> been 
> working on Perl for a month now and I'm just getting started on
> regular 
> expression. Anyway, learning Perl is not my problem. My problem, is
> getting 
> my Perl scripts to run on my PC. 

If hello world pops up and disappers, that may be just what you've
asked the script to do. The DOSneyland window in later version of
Windows 9x will remain open after the command-environment program (in
this case the perl interpreter and scipt) are done, unless you change
the properties of the shortcut used to invoke it. I'm at my NT box now
and don't remember the precise menu location, but you can do this in
the DOS window itself before your close it. Right click the bar at top
and view the properties of the command interpreter (DOS windows).


For the past month I have been
> running 
> MacPerl on my Macintosh Computer, which doesn't deal with command
> lines 
> (Bless Apple). 

Used Macs for a long time, and yeared for a command environment the
entire time. Now that they're going to have one, I don't need to use
them anymore.

>But the reality is that I have to learn how to run
> Perl on 
> both systems and eventually Unix also. For now though,considering
> that I just 
> spent $1500 on this PC I would just like to get my scripts going on
> it.  I 
> created my scripts with a text editor and saved them with the .pl
> extension; 
> I installed PERL version 5.2.2 (APi522e.exe) and followed all the 
> installation instructions; but, I can't seem to run my scripts.
> Whenever I 
> try to open my script from the command line (the infamous "Hello,
> World" 
> script), I can see hello world! on my screen for 1 second and then my
> Perl 
> inturpreter suddenly disappears off of my screen; also, when I try to
> close 
> the Perl inturpreter I keep getting an error message saying that I am
> not 
> using the proper method of exiting the program. I know that I sound
> pretty 
> dumb, but I have three books on PERL (The Camel,SAMS TYP in 21days
> and, 
> Perl,CGI,and Javascript complete) and none of these seem to cover (in
> 
> English) how to actually get started runninng your scripts. Whats
> going on? 
> Did I install the wrong version of PERL? am I typing the wrong
> commands on 
> the command line?

Forget the hardware. It sounds fine. How are you invoking your script?
In a batch file? Is this opening a 2nd command window which is left
waiting for you to manually close it?

Send what you're trying to run, and if its a batch/command file, send
both that file and the test script.


> Here are some specs on my setup:
> 
> I am running Microsoft Windows Me, operating system. 
> 
> I use Edit Revolution 2 as my text editor. 
> 
>  I installed PERL version 5.2.2 (APi522e.exe)
> 
> I have a 750mhz processor.
> 
> I have 256mb of RAM.
> 
> Please Help!  Thanks!


=====

---------------------------------
Notice: This e-mail is protected by the U.S. Constitution and the U.N. Declaration of 
Human Rights. Unauthorized interception by any public or private agency is an ugly 
sort of work to be in. Does your mother know you spend your days reading other 
people's mail? Would she be proud of you?

---------------------------------
Please visit: http://clubs.yahoo.com/clubs/district41democrats

__________________________________________________
Do You Yahoo!?
Spot the hottest trends in music, movies, and more.
http://buzz.yahoo.com/

Reply via email to