[24733] in Perl-Users-Digest

home help back first fref pref prev next nref lref last post

Perl-Users Digest, Issue: 6888 Volume: 10

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Fri Aug 20 03:10:53 2004

Date: Fri, 20 Aug 2004 00:10:11 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)

Perl-Users Digest           Fri, 20 Aug 2004     Volume: 10 Number: 6888

Today's topics:
    Re: what's the best environment to exercise Perl? <end@dream.life>
    Re: what's the best environment to exercise Perl? <end@dream.life>
    Re: what's the best environment to exercise Perl? <postmaster@castleamber.com>
    Re: what's the best environment to exercise Perl? <end@dream.life>
    Re: what's the best environment to exercise Perl? <end@dream.life>
    Re: what's the best environment to exercise Perl? <end@dream.life>
    Re: what's the best environment to exercise Perl? <end@dream.life>
    Re: what's the best environment to exercise Perl? <end@dream.life>
    Re: what's the best environment to exercise Perl? <spamtrap@dot-app.org>
    Re: what's the best environment to exercise Perl? <spamtrap@dot-app.org>
    Re: what's the best environment to exercise Perl? <sbryce@scottbryce.com>
    Re: what's the best environment to exercise Perl? <1usa@llenroc.ude.invalid>
    Re: what's the best environment to exercise Perl? <1usa@llenroc.ude.invalid>
    Re: what's the best environment to exercise Perl? <Joe.Smith@inwap.com>
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

----------------------------------------------------------------------

Date: Fri, 20 Aug 2004 12:25:59 +0800
From: Alont <end@dream.life>
Subject: Re: what's the best environment to exercise Perl?
Message-Id: <41287d43.169165687@130.133.1.4>

thank you, but I'm working on Windows xp

at 19 Aug 2004 17:16:27 +0200
510046470588-0001@t-online.de×íõ¸õ¸µÄÄØà«µÀ:--
>the GNU Emacs, of course
>
>Klaus Schilling


      Your fault as a Government is My failure as a citizen


------------------------------

Date: Fri, 20 Aug 2004 12:32:38 +0800
From: Alont <end@dream.life>
Subject: Re: what's the best environment to exercise Perl?
Message-Id: <41297da9.169267484@130.133.1.4>

maybe all people here are working on linux?
hehe, I use EditPlus to write perl and then save as a *.pl file,
then I open the *.pl file in Folder Window, WINDOWS automatically
start perl.exe to execute it, but when the end of the execution,
perl.exe automatically close --- so I can't see the result of the
execution, my problem is: how to stay the perl.exe on the end of
execution?
at Thu, 19 Aug 2004 17:41:10 +0100
Peter Hickman <peter@semantico.com>×íõ¸õ¸µÄÄØà«µÀ:--
>Open two command shells. In one type vi fred.pl (or whatever your favourite
>editor is) and in the other you can type perl fred.pl to run the program. The
>results will be left on-screen in the second window after the program runs.
>
>Honest that is all you need, the syntax highlighting in vi is particularly
>useful as is a tool called perltidy. Perl programmers rarely use IDEs (unless
>you count emacs :-) ) and as a result there exist very few IDEs for Perl.
>
>No Perl programmer I have ever known uses an IDE.


      Your fault as a Government is My failure as a citizen


------------------------------

Date: 20 Aug 2004 04:32:48 GMT
From: John Bokma <postmaster@castleamber.com>
Subject: Re: what's the best environment to exercise Perl?
Message-Id: <Xns954AEF59785D5castleamber@130.133.1.4>

Alont <end@dream.life> wrote in news:41287d43.169165687@130.133.1.4:

don't top post.

> 
> at 19 Aug 2004 17:16:27 +0200
> 510046470588-0001@t-online.de×íõ¸õ¸µÄÄØà«µÀ:--
>>the GNU Emacs, of course

> thank you, but I'm working on Windows xp

That's no excuse, there is a port :-D.

-- 
John                               MexIT: http://johnbokma.com/mexit/
                           personal page:       http://johnbokma.com/
        Experienced programmer available:     http://castleamber.com/
            Happy Customers: http://castleamber.com/testimonials.html


------------------------------

Date: Fri, 20 Aug 2004 12:44:33 +0800
From: Alont <end@dream.life>
Subject: Re: what's the best environment to exercise Perl?
Message-Id: <412a7f05.169615343@130.133.1.4>

so troublesome! I want directly execute the script after I wrote it, 

at Thu, 19 Aug 2004 10:56:09 -0600
Scott Bryce <sbryce@scottbryce.com>×íõ¸õ¸µÄÄØà«µÀ:--
>Or use your favorite Windows editor, open a command window and type perl 
>fred.pl > results.txt to run the program. Open results.txt in your text 
>editor to see the results.


      Your fault as a Government is My failure as a citizen


------------------------------

Date: Fri, 20 Aug 2004 12:47:45 +0800
From: Alont <end@dream.life>
Subject: Re: what's the best environment to exercise Perl?
Message-Id: <412b8206.170384171@130.133.1.4>

I can't log on this site, My ISP block it, 

at Thu, 19 Aug 2004 22:19:57 +0530
Abhinav <matrix_calling@yahoo.dot.com>×íõ¸õ¸µÄÄØà«µÀ:--
>Try vim (http://www.vim.org). It should do what you seem to want it to do.


      Your fault as a Government is My failure as a citizen


------------------------------

Date: Fri, 20 Aug 2004 12:54:33 +0800
From: Alont <end@dream.life>
Subject: Re: what's the best environment to exercise Perl?
Message-Id: <412c8354.170718593@130.133.1.4>

stop top posting? I have checked my date setting, it's right,
maybe Beijing time= GMT + 8 hour?

at 19 Aug 2004 17:23:16 GMT
John Bokma <postmaster@castleamber.com>×íõ¸õ¸µÄÄØà«µÀ:--
>Use cmd.exe as a "DOS" box.
>
>Windows key + R, type cmd.exe in the box. I made shortcuts in dirs, you can 
>also use the command prompt here hack (Google for it).
>
>I use Textpad to edit Perl files, it does syntax highlighting. You can 
>invoke your script, and capture the output etc.
>
>And stop top posting.


      Your fault as a Government is My failure as a citizen


------------------------------

Date: Fri, 20 Aug 2004 12:58:05 +0800
From: Alont <end@dream.life>
Subject: Re: what's the best environment to exercise Perl?
Message-Id: <412e84b6.171072171@130.133.1.4>

F:\Perl\bin>perl E:\perl\t-pad-4.04.pl
Can't locate Tk.pm in @INC (@INC contains:
e:\oracle\product\10.1.0\Db_1\perl\lib\5.6.1\MSWin32-x86
e:\oracle\product\10.1.0\Db_1\perl\lib\5.6.1
e:\oracle\product\10.1.0\Db_1\perl\5.6.1\lib\MSWin32-x86 e:\oracle\pro
duct\10.1.0\Db_1\perl\site\5.6.1
e:\oracle\product\10.1.0\Db_1\perl\site\5.6.1\lib
e:\oracle\product\10.1.0\Db_1\sysman\admin\scripts F:/Perl/lib
F:/Perl/site/lib .) at E:\doc\perl\t-pad-4.04.pl line 8.
BEGIN failed--compilation aborted at E:\doc\perl\t-pad-4.04.pl line 8.

F:\Perl\bin>

at Thu, 19 Aug 2004 15:11:53 -0400
thundergnat <thundergnat@hotmail.com>×íõ¸õ¸µÄÄØà«µÀ:--
>There is a mini perl IDE/editor available on CPAN;
>
>http://www.cpan.org/authors/id/T/TP/TPARVIAI/t-pad-4.04.pl
>
>Has syntax highlighting, in editor execution and some other
>interesting stuff. Perhaps most interesting, it is written
>in perl.


      Your fault as a Government is My failure as a citizen


------------------------------

Date: Fri, 20 Aug 2004 13:00:07 +0800
From: Alont <end@dream.life>
Subject: Re: what's the best environment to exercise Perl?
Message-Id: <412f8507.171153250@130.133.1.4>

you mean that I must change my Region to GMT time?
but I'm living in china, this isn't my fault, isn't?

at 19 Aug 2004 19:27:12 GMT
"A. Sinan Unur" <1usa@llenroc.ude.invalid>×íõ¸õ¸µÄÄØà«µÀ:--
>You can show your gratitude by reading the posting quidelines and avoiding 
>top-posting.
>-


      Your fault as a Government is My failure as a citizen


------------------------------

Date: Fri, 20 Aug 2004 01:42:09 -0400
From: Sherm Pendley <spamtrap@dot-app.org>
Subject: Re: what's the best environment to exercise Perl?
Message-Id: <Q6mdnZrm9KmsErjcRVn-jw@adelphia.com>

Alont wrote:

> you mean that I must change my Region to GMT time?
> but I'm living in china, this isn't my fault, isn't?

No, top-posting is when you put your reply at the top of your message. 
Most people here prefer it to appear below the text you're replying to, 
like this one.

sherm--

-- 
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org


------------------------------

Date: Fri, 20 Aug 2004 01:47:24 -0400
From: Sherm Pendley <spamtrap@dot-app.org>
Subject: Re: what's the best environment to exercise Perl?
Message-Id: <ArKdnW_rz5bxDbjcRVn-jQ@adelphia.com>

Alont wrote:

> maybe all people here are working on linux?

No, I use a Mac.

> hehe, I use EditPlus to write perl and then save as a *.pl file,
> then I open the *.pl file in Folder Window, WINDOWS automatically
> start perl.exe to execute it, but when the end of the execution,
> perl.exe automatically close

That's what happens by default if you run the .pl file by 
double-clicking on it. What you want to do instead is open up a command 
shell - or "DOS box", or "Command Prompt" or whatever Windows is calling 
that these days - and run your app with the command "perl foo.pl". That 
way the window won't close when your script is done.

sherm--

-- 
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org


------------------------------

Date: Thu, 19 Aug 2004 23:55:06 -0600
From: Scott Bryce <sbryce@scottbryce.com>
Subject: Re: what's the best environment to exercise Perl?
Message-Id: <10ib4hnfq2t7c10@corp.supernews.com>

Scott Bryce wrote:

> Or use your favorite Windows editor, open a command window and type
> perl fred.pl > results.txt to run the program. Open results.txt in
> your text editor to see the results.

Alont responded:

> so troublesome! I want directly execute the script after I wrote it,

If that is too much trouble, I'm afraid we can't help you. I can't think
of anything more direct than opening a command window and typing "perl
myscript.pl". If you run your script that way, the window will stay open
with the results visible. If the output is longer than what is visible
in the command window, write it to a file. Opening that file in a text
editor isn't any trouble at all. I develop this way all the time.



------------------------------

Date: 20 Aug 2004 06:34:11 GMT
From: "A. Sinan Unur" <1usa@llenroc.ude.invalid>
Subject: Re: what's the best environment to exercise Perl?
Message-Id: <Xns954B1A21199Easu1cornelledu@132.236.56.8>

Alont <end@dream.life> wrote in news:412f8507.171153250@130.133.1.4:

> at 19 Aug 2004 19:27:12 GMT
> "A. Sinan Unur" <1usa@llenroc.ude.invalid>×íõ¸õ¸µÄÄØà«µÀ:--

>>You can show your gratitude by reading the posting quidelines and
>>avoiding top-posting.

> you mean that I must change my Region to GMT time?

Who said anything about GMT time? Out your replies below the content to 
which you are replying. And read the posting guidelines. Please. 

> but I'm living in china, this isn't my fault, isn't?
 ...
> Your fault as a Government is My failure as a citizen

According to your sig, it is.

While you are at it, please use the proper sig separator (dash dash 
space) so I don't have to manually edit out your signature every time I 
respond.

-- 
A. Sinan Unur
1usa@llenroc.ude.invalid 
(remove '.invalid' and reverse each component for email address)



------------------------------

Date: 20 Aug 2004 06:52:41 GMT
From: "A. Sinan Unur" <1usa@llenroc.ude.invalid>
Subject: Re: what's the best environment to exercise Perl?
Message-Id: <Xns954B1D46B2558asu1cornelledu@132.236.56.8>

Alont <end@dream.life> wrote in news:41297da9.169267484@130.133.1.4:

> at Thu, 19 Aug 2004 17:41:10 +0100
> Peter Hickman <peter@semantico.com>×íõ¸õ¸µÄÄØà«µÀ:--
>>Open two command shells. In one type vi fred.pl (or whatever your
>>favourite editor is) and in the other you can type perl fred.pl to run
>>the program. The results will be left on-screen in the second window
>>after the program runs. 

> maybe all people here are working on linux?

No. For me, it is 80% Windows XP and 20% FreeBSD.

> hehe, 

What is so funny?

> I use EditPlus to write perl and then save as a *.pl file,
> then I open the *.pl file in Folder Window, WINDOWS automatically
> start perl.exe to execute it, but when the end of the execution,
> perl.exe automatically close --- so I can't see the result of the
> execution, my problem is: how to stay the perl.exe on the end of
> execution?

Why don't you learn how to use the software of your choice (BTW, did you 
pay the registration fee?) I just downloaded EditPlus out of curiosity. 
It took me 10 seconds to configure it so that I could run the current 
file using perl and capture output within the editor. No need for 
Explorer or shell windows.

Why don't you learn how to use your favorite editor?

Now, let's hope I can uninstall this thing...



-- 
A. Sinan Unur
1usa@llenroc.ude.invalid 
(remove '.invalid' and reverse each component for email address)



------------------------------

Date: Fri, 20 Aug 2004 07:04:25 GMT
From: Joe Smith <Joe.Smith@inwap.com>
Subject: Re: what's the best environment to exercise Perl?
Message-Id: <ZnhVc.193389$eM2.41077@attbi_s51>

Alont wrote:

> stop top posting? I have checked my date setting, it's right,
> maybe Beijing time= GMT + 8 hour?
>
>>Use cmd.exe as a "DOS" box.

Please stop "top posting"!!

That means, do not put your text above what you're quoting.
You should do like what I have done it this reply; my new
text is below your text, not above.
	-Joe

P.S. I was going to complain about posting in HTML, but it appears
that "Content-Type: text/plain; charset=GB2312" is causing Mozilla
to render it in an awfully large Courier font.


------------------------------

Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin) 
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>


Administrivia:

#The Perl-Users Digest is a retransmission of the USENET newsgroup
#comp.lang.perl.misc.  For subscription or unsubscription requests, send
#the single line:
#
#	subscribe perl-users
#or:
#	unsubscribe perl-users
#
#to almanac@ruby.oce.orst.edu.  

NOTE: due to the current flood of worm email banging on ruby, the smtp
server on ruby has been shut off until further notice. 

To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.

#To request back copies (available for a week or so), send your request
#to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
#where x is the volume number and y is the issue number.

#For other requests pertaining to the digest, send mail to
#perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
#sending perl questions to the -request address, I don't have time to
#answer them even if I did know the answer.


------------------------------
End of Perl-Users Digest V10 Issue 6888
***************************************


home help back first fref pref prev next nref lref last post