[24738] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 6893 Volume: 10

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

Date: Fri, 20 Aug 2004 11:10:10 -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: 6893

Today's topics:
    Re: what's the best environment to exercise Perl? <tadmc@augustmail.com>
    Re: what's the best environment to exercise Perl? <tadmc@augustmail.com>
    Re: what's the best environment to exercise Perl? <end@dream.life>
    Re: what's the best environment to exercise Perl? <jurgenex@hotmail.com>
    Re: what's the best environment to exercise Perl? <bernard.el-haginDODGE_THIS@lido-tech.net>
    Re: what's the best environment to exercise Perl? <thundergnat@hotmail.com>
    Re: what's the best environment to exercise Perl? <ithinkiam@gmail.com>
    Re: what's the best environment to exercise Perl? <1usa@llenroc.ude.invalid>
    Re: what's the best environment to exercise Perl? <dwall@fastmail.fm>
    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? <dwall@fastmail.fm>
    Re: what's the best environment to exercise Perl? <end@dream.life>
    Re: what's the best environment to exercise Perl? <end@dream.life>
        WSDL/SOAP/XML-RPC HELP <lepi--REMOVE-THIS-FROM-HERE@fly.srk.fer.hr>
    Re: WSDL/SOAP/XML-RPC HELP <jgibson@mail.arc.nasa.gov>
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

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

Date: Fri, 20 Aug 2004 07:55:34 -0500
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: what's the best environment to exercise Perl?
Message-Id: <slrncibt66.1ui.tadmc@magna.augustmail.com>

Alont <end@dream.life> wrote:

> what's OP? 


Look it up in "The Jargon File":

   http://www.catb.org/~esr/jargon/html/O/thread-OP.html

> 
> at Fri, 20 Aug 2004 09:34:15 +0200
> "Tassilo v. Parseval"
><tassilo.von.parseval@rwth-aachen.de>×íõ¸õ¸µÄÄØà«µÀ:--
>>Hmmh, the OP is in China so maybe this host is blocked altogether (for
>>reasons that are simply beyond me).


Everyone here is beginning to think that you are a rude person.

I don't think that you want to be seen that way, so please
stop *top posting* very very soon or you may end up in many
killfiles. Thank you.

   http://www.catb.org/~esr/jargon/html/T/top-post.html


-- 
    Tad McClellan                          SGML consulting
    tadmc@augustmail.com                   Perl programming
    Fort Worth, Texas


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

Date: Fri, 20 Aug 2004 08:00:07 -0500
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: what's the best environment to exercise Perl?
Message-Id: <slrncibten.1ui.tadmc@magna.augustmail.com>

Alont <end@dream.life> wrote:
> the reason that I reply on top is that My client is Forte Agent1.8, it
> automatically stay cursor on the top, if I change the cursor every
> post, I'll be crazy! 


If you continue to top-post, people will start to automatically
delete your postings *without reading* them.

You are the only one who can evaluate whether that trade-off
is worth it or not.


-- 
    Tad McClellan                          SGML consulting
    tadmc@augustmail.com                   Perl programming
    Fort Worth, Texas


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

Date: Fri, 20 Aug 2004 22:04:02 +0800
From: Alont <end@dream.life>
Subject: Re: what's the best environment to exercise Perl?
Message-Id: <4128049d.203815718@130.133.1.4>

Tad McClellan <tadmc@augustmail.com>Wrote at Fri, 20 Aug 2004 08:00:07
-0500:
>If you continue to top-post, people will start to automatically
>delete your postings *without reading* them.
>
>You are the only one who can evaluate whether that trade-off
>is worth it or not.
>
>
My God, so seriously?
-- 
      Your fault as a Government is My failure as a citizen


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

Date: Fri, 20 Aug 2004 14:13:44 GMT
From: "Jürgen Exner" <jurgenex@hotmail.com>
Subject: Re: what's the best environment to exercise Perl?
Message-Id: <sGnVc.4$dB6.0@nwrddc03.gnilink.net>

Alont wrote:
[Top Posting]
> the reason that I reply on top is that My client is Forte Agent1.8, it
> automatically stay cursor on the top, if I change the cursor every
> post, I'll be crazy! [...]

Well, actually that is probably by design because it is the best way to
support the most typical work flow.
You start at the top of the existing text, adding text to those sections you
want comment on and deleting sections that are not relevant any longer while
you are working your way down to the end of the old posting.

Or do you really edit, comment, and delete beginning at the bottom of the
text and moving up to the top? That would be unusual, at least for western
languages.

jue




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

Date: Fri, 20 Aug 2004 16:17:34 +0200
From: "Bernard El-Hagin" <bernard.el-haginDODGE_THIS@lido-tech.net>
Subject: Re: what's the best environment to exercise Perl?
Message-Id: <Xns954BA637D5E49elhber1lidotechnet@62.89.127.66>

Alont <end@dream.life> wrote:

> Tad McClellan <tadmc@augustmail.com>Wrote at Fri, 20 Aug 2004
> 08:00:07 -0500:
>>If you continue to top-post, people will start to automatically
>>delete your postings *without reading* them.
>>
>>You are the only one who can evaluate whether that trade-off
>>is worth it or not.
>>
>>
> My God, so seriously?


Yes, so seriously. Some people here (Tad included) spend hours daily
helping people with their Perl problems. Respect the time of those 
whose help you came here seeking.


-- 
Cheers,
Bernard


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

Date: Fri, 20 Aug 2004 10:50:06 -0400
From: thundergnat <thundergnat@hotmail.com>
Subject: Re: what's the best environment to exercise Perl?
Message-Id: <41260fa0$0$21740$61fed72c@news.rcn.com>

Alont wrote:

> 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>
> 

In that case, I would recommend upgrading to a later release of perl.
The 5.8 series includes the Tk modules by default and it supports
unicode much better (which, since you are in China, would seem to be
desirable.)

Get it for free from http://www.activestate.com

I would also advise editing your environment to use the libs of the
location your are running your binary from. Right now, it appears that
you are running the perl interpreter from F:\Perl\bin> but are using the
libraries from e:\oracle\product\10.1.0\Db_1\perl\lib\5.6.1. If they are
not the same version of perl, you could end up with all sorts of bizarre
and hard to track down problems.


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

Date: Fri, 20 Aug 2004 16:21:43 +0100
From: Chris Cole <ithinkiam@gmail.com>
Subject: Re: what's the best environment to exercise Perl?
Message-Id: <pan.2004.08.20.15.21.36.154320@gmail.com>

On Fri, 20 Aug 2004 15:48:46 +0800, Alont wrote:

> I have tried, but faild, could you give me your setting about perl
> compile in Editplus?my settings:
> Menu text: Perl compiler
> Command: F:\Perl\bin\Perl.exe
> Argument: $(CurSel)
> initial directory: F:\Perl\bin
> 
> I selected these script and then click "Perl compiler" menu:
> #!/usr/bin/perl
> print 54;
>  
> but the result:
> ---------- Perl compiler ----------
> Can't open perl script "#!/usr/bin/perl ": No such file or directory
> Normal Termination
> Output completed (0 sec consumed).
> 
> 
I'm not at all surprised that this doesn't work as you expect it to.
You've quite clearly told your editor that the perl interpretor is in
F:\Perl\bin but then your script looks for it in /usr/bin (this is what
this line is for: #!/usr/bin/perl). /usr/bin is the default location for
perl on linux and is what you'll find in most of the (better) perl
books/tutorials. If your situation differs (it does) you must change the
shebang (#!) line as appropriate.
HTH
Chris.


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

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

Chris Cole <ithinkiam@gmail.com> wrote in
news:pan.2004.08.20.15.21.36.154320@gmail.com: 

> On Fri, 20 Aug 2004 15:48:46 +0800, Alont wrote:
> 
>> I have tried, but faild, could you give me your setting about perl
>> compile in Editplus?my settings:
>> Menu text: Perl compiler
>> Command: F:\Perl\bin\Perl.exe
>> Argument: $(CurSel)
>> initial directory: F:\Perl\bin
>> 
>> I selected these script and then click "Perl compiler" menu:
>> #!/usr/bin/perl
>> print 54;
>>  
>> but the result:
>> ---------- Perl compiler ----------
>> Can't open perl script "#!/usr/bin/perl ": No such file or directory
>> Normal Termination
>> Output completed (0 sec consumed).
>> 
>> 
> I'm not at all surprised that this doesn't work as you expect it to.
> You've quite clearly told your editor that the perl interpretor is in
> F:\Perl\bin but then your script looks for it in /usr/bin (this is
> what this line is for: #!/usr/bin/perl). /usr/bin is the default
> location for perl on linux and is what you'll find in most of the
> (better) perl books/tutorials. If your situation differs (it does) you
> must change the shebang (#!) line as appropriate.

Actually, that is not his problem. Looking at

>> Argument: $(CurSel)

makes it clear that he is passing the current selection in the text 
editor to perl as the name of the script.

He should instead pass the name of the current file and select the 
current file directory as the directory in which to execute perl.

To the OP: You are being a leech.

EditPlus is a supported product. It has a web site, manual etc. Go read 
them. You have used up any goodwill I might have had toward you.

-- 
A. Sinan Unur
usa1@llenroc.ude.invalid
(remove .invalid and reverse each component for valid email address)


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

Date: Fri, 20 Aug 2004 16:53:14 -0000
From: "David K. Wall" <dwall@fastmail.fm>
Subject: Re: what's the best environment to exercise Perl?
Message-Id: <Xns954B83188B746dkwwashere@216.168.3.30>

A. Sinan Unur <1usa@llenroc.ude.invalid> wrote in message
<news:Xns954B1D46B2558asu1cornelledu@132.236.56.8>: 

> Alont <end@dream.life> wrote in
> news:41297da9.169267484@130.133.1.4: 
 
>> 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.

I'm generally on Windows as well and I do very much the same thing 
within my editor, although I don't use EditPlus. For what it's worth, 
the screen shot of EditPlus showing the syntax highlighting for Perl 
also shows output being captured: http://www.editplus.com/ss/perl.gif
Just don't look at the code in that image: I think it's Matt Wright's 
formmail crap. :-)

Any halfway-decent programmer's editor should allow you to execute a 
command and capture the output. If it didn't, why use such a crippled 
tool?


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

Date: Sat, 21 Aug 2004 01:24:09 +0800
From: Alont <end@dream.life>
Subject: Re: what's the best environment to exercise Perl?
Message-Id: <4127333e.215752156@130.133.1.4>

Chris Cole <ithinkiam@gmail.com>Wrote at Fri, 20 Aug 2004 16:21:43
+0100:
>I'm not at all surprised that this doesn't work as you expect it to.
>You've quite clearly told your editor that the perl interpretor is in
>F:\Perl\bin but then your script looks for it in /usr/bin (this is what
>this line is for: #!/usr/bin/perl). /usr/bin is the default location for
>perl on linux and is what you'll find in most of the (better) perl
>books/tutorials. If your situation differs (it does) you must change the
>shebang (#!) line as appropriate.
>HTH
>Chris.

#!F:/Perl/bin/perl
or #!F:\Perl\bin\perl
both I tested but the result:
---------- Perl compiler ----------
Normal Termination
Output completed (0 sec consumed).



-- 
      Your fault as a Government is My failure as a citizen


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

Date: Sat, 21 Aug 2004 01:37:45 +0800
From: Alont <end@dream.life>
Subject: Re: what's the best environment to exercise Perl?
Message-Id: <41283566.216304046@130.133.1.4>

"A. Sinan Unur" <1usa@llenroc.ude.invalid>Wrote at 20 Aug 2004
16:36:11 GMT:
>makes it clear that he is passing the current selection in the text 
>editor to perl as the name of the script.
>
>He should instead pass the name of the current file and select the 
>current file directory as the directory in which to execute perl.
>
>To the OP: You are being a leech.
>
>EditPlus is a supported product. It has a web site, manual etc. Go read 
>them. You have used up any goodwill I might have had toward you.

I'm sorry I'm being a leech....
My english is poor, that make me harder on reading english
information....and sometimes I can't understand what's the meaning of
some sentences....I think I should go away and hardly read what you
say---in fact I read it before but I just can't understand
something....
however, that's my own problem, I should read again and again till I
can understood.....
I go now...
-- 
      Your fault as a Government is My failure as a citizen


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

Date: Sat, 21 Aug 2004 01:51:00 +0800
From: Alont <end@dream.life>
Subject: Re: what's the best environment to exercise Perl?
Message-Id: <412a392e.217272421@130.133.1.4>

"A. Sinan Unur" <1usa@llenroc.ude.invalid>Wrote at 20 Aug 2004
16:36:11 GMT:
>makes it clear that he is passing the current selection in the text 
>editor to perl as the name of the script.
>
>He should instead pass the name of the current file and select the 
>current file directory as the directory in which to execute perl.
>
>To the OP: You are being a leech.
>
>EditPlus is a supported product. It has a web site, manual etc. Go read 
>them. You have used up any goodwill I might have had toward you.

Oh! I succeed! the setting as same as jave setting:


Example 1. Java Compiler

Menu text: Java Compiler
Command: c:\java\bin\javac.exe
Argument: "$(FilePath)"
Initial directory: $(FileDir)

-- 
      Your fault as a Government is My failure as a citizen


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

Date: Fri, 20 Aug 2004 17:53:29 -0000
From: "David K. Wall" <dwall@fastmail.fm>
Subject: Re: what's the best environment to exercise Perl?
Message-Id: <Xns954B8D4FBB7EBdkwwashere@216.168.3.30>

Tad McClellan <tadmc@augustmail.com> wrote in message
<news:slrncibt66.1ui.tadmc@magna.augustmail.com>: 

> Alont <end@dream.life> wrote:
> 
>> what's OP? 

> Look it up in "The Jargon File":
> 
>    http://www.catb.org/~esr/jargon/html/O/thread-OP.html

Damn, I just lost 15-30 minutes browsing around the new entries that 
have been added since the last time I got sucked into that thing.


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

Date: Sat, 21 Aug 2004 01:55:04 +0800
From: Alont <end@dream.life>
Subject: Re: what's the best environment to exercise Perl?
Message-Id: <412b3acc.217686859@130.133.1.4>

Alont <end@dream.life>Wrote at Sat, 21 Aug 2004 01:24:09 +0800:
>#!F:/Perl/bin/perl
>or #!F:\Perl\bin\perl
>both I tested but the result:
>---------- Perl compiler ----------
>Normal Termination
>Output completed (0 sec consumed).
>

I've solved the problem,
-- 
      Your fault as a Government is My failure as a citizen


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

Date: Sat, 21 Aug 2004 01:58:30 +0800
From: Alont <end@dream.life>
Subject: Re: what's the best environment to exercise Perl?
Message-Id: <412e3b7c.217862359@130.133.1.4>

Tad McClellan <tadmc@augustmail.com>Wrote at Fri, 20 Aug 2004 08:00:07
-0500:
>
>If you continue to top-post, people will start to automatically
>delete your postings *without reading* them.
>
>You are the only one who can evaluate whether that trade-off
>is worth it or not.
>

I had change my custom..I'm new in this kind of posting
-- 
      Your fault as a Government is My failure as a citizen


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

Date: Fri, 20 Aug 2004 16:39:10 +0200
From: Tomislav Lepusic <lepi--REMOVE-THIS-FROM-HERE@fly.srk.fer.hr>
Subject: WSDL/SOAP/XML-RPC HELP
Message-Id: <cg52ft$f14$1@bagan.srce.hr>

Hello,

I don't know if this is the right group, so if you can help me thanks, 
if not, sorry to bother you.


I'm working on my student project and I'm totally lost and don't have 
any idea how to continue, and the deadline is 1.9.2004. Please help, 
'couse i'm loosing myself in this XML/SOAP/RPC/WSDL things......

A little discription.
I have to define and make something like virtual driver for serial port 
(RS232), only it isn't really a driver. The server has to be on Linux 
box (physical port(s) is/are there), and the other side (client) is not 
inportant. It is not important what is connected on serial port. Also, 
there is no need to work on any kind of drivers on Windows or something, 
becouse that is not the point. I have to make an universal way to 
send/recive/control serial port on that server computer from anywhere. I 
know how to program for serial port on Linux (in C), and I have made 
some progress there. That low-level programing isn't the problem. The 
problem is how to make it work over the net, so that someone who wants 
to write a program on Windows or Mac can use something universal to 
access it (like XML). I HAVE TO USE XML-RPC or SOAP or WSDL or 
something like that. The problem is that I don't know how to use those 
technologies. I read some tutorials, guides on XML-RPC, SOAP and WSDL, 
and I'm totally lost now.
BTW, I was planning to use Perl becouse I know something about it. (I 
don't know Java)

So, if you can help me in any way (advice, similar example or 
something), please do. This is very important to me. I forget, 
everything must be secure (SSL or something).

Thank you

Tom


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

Date: Fri, 20 Aug 2004 09:41:37 -0700
From: Jim Gibson <jgibson@mail.arc.nasa.gov>
Subject: Re: WSDL/SOAP/XML-RPC HELP
Message-Id: <200820040941376595%jgibson@mail.arc.nasa.gov>

In article <cg52ft$f14$1@bagan.srce.hr>, Tomislav Lepusic
<lepi--REMOVE-THIS-FROM-HERE@fly.srk.fer.hr> wrote:


> 
> A little discription.
> I have to define and make something like virtual driver for serial port 
> (RS232), only it isn't really a driver. The server has to be on Linux 
> box (physical port(s) is/are there), and the other side (client) is not 
> inportant. 

[ more description snipped]

> I HAVE TO USE XML-RPC or SOAP or WSDL or 
> something like that. The problem is that I don't know how to use those 
> technologies. I read some tutorials, guides on XML-RPC, SOAP and WSDL, 
> and I'm totally lost now.
> BTW, I was planning to use Perl becouse I know something about it. (I 
> don't know Java)

Perl has a set of publicly-available contributed modules at CPAN, the
Comprehensive Perl Archive Network. Go to http://search.cpan.org and
search for 'SOAP' and you will find 289 references. You can download
these modules and use them in your Perl application. See
http://www.cpan.org/misc/cpan-faq.html for more information about Perl
and CPAN.

Once you have installed a Perl module, the documentation is usually
available on-line, e.g. 'perldoc SOAP'.


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

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 6893
***************************************


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