[27822] in Perl-Users-Digest
Perl-Users Digest, Issue: 9186 Volume: 10
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Fri Apr 21 11:05:43 2006
Date: Fri, 21 Apr 2006 08:05:06 -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, 21 Apr 2006 Volume: 10 Number: 9186
Today's topics:
[ANNOUNCE] WWW::Webrobot 0.80 <web-2005-robot@web.de>
Re: [OT] C interpreter <rvtol+news@isolution.nl>
Re: Term::ReadKey on Win? 5.005 vs 5.8.8? <rvtol+news@isolution.nl>
Re: Tracing SQL queries done via DBI (mod_perl) <rvtol+news@isolution.nl>
Re: XS Progamming with Perl 6 <daveandniki@ntlworld.com>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Fri, 21 Apr 2006 07:49:20 GMT
From: Stefan Trcek <web-2005-robot@web.de>
Subject: [ANNOUNCE] WWW::Webrobot 0.80
Message-Id: <Iy2LuI.1K3I@zorch.sf-bay.org>
Webrobot 0.80 is now available on CPAN.
For all changes to previous versions see the Changes file
http://search.cpan.org/dist/webrobot/Changes
Webrobot http://search.cpan.org/dist/webrobot/ is a data driven http
client heavily based on LWP. The client action specification format
ist XML. Though the module itself is pure Perl it uses some CPAN
modules that are not. It can be used
* for automating http requests
* for a kind of web based unit tests
* for stress tests of web servers (very limited).
For more information see the README file in the distribution
http://search.cpan.org/dist/webrobot/lib/WWW/Webrobot/pod/README.pod
and the support page http://webrobot.abas.de containing screenshots
and tutorials.
The support page also contains instructions how to write test plans
with Mozilla by just visiting the desired pages.
Stefan Trcek
------------------------------
Date: Fri, 21 Apr 2006 13:30:24 +0200
From: "Dr.Ruud" <rvtol+news@isolution.nl>
Subject: Re: [OT] C interpreter
Message-Id: <e2an9o.1ko.1@news.isolution.nl>
Asterbing schreef:
> rvtol+news@isolution.nl:
>> Asterbing:
[Subject trimmed by convention, see
http://www.holgermetzger.de/netscape/usenet.html &al.]
>>> C is not an interpreted language !
>>
>> I don't see why not. It is also a great language for writing scripts
>> in: http://www.tinycc.org
>
> I didn't say that C was unable to write a server script, but that it's
> originally a compiled language
Maybe you meant "originally", but you didn't mention it. We were all
originally babies, no: eggs, no: thoughts, etc.
> and, that, by that way, you've not
> access to source code unless if the author deliberately exposes it
> (for eample if it's in an open source spirit).
De-compilation is not always hard. But source code is another subject.
You can easily modify a C-compiler such that it includes the source as
an accessible resource in the executable.
Is '#include' part (of your view) of the C-language? Is it possible to
use example code in the C-language to communicate algorithms with, like
with letters printed in books?
--
Affijn, Ruud
"Gewoon is een tijger."
------------------------------
Date: Fri, 21 Apr 2006 12:11:29 +0200
From: "Dr.Ruud" <rvtol+news@isolution.nl>
Subject: Re: Term::ReadKey on Win? 5.005 vs 5.8.8?
Message-Id: <e2ailr.19k.1@news.isolution.nl>
Ilya Zakharevich schreef:
> Dr.Ruud:
>> I read the code for a few minutes and then tested this:
>
> Is not a part of your message missing?
Huh?
>> C:\>perl -MTerm::ReadKey -wle "open $in, '+< CONIN$' or die $!;
>> ReadMode 4, $in;
>> $|=1;
>> print ord while defined($_=ReadKey 0)"
>
> This has a low probablity to be useful. Whatever happens is a side
> effect of changing ReadMode on one filehandle, and testing the results
> on another. As Sysiphus already tested, STDIN opened to "default TTY"
> acts the same as CONIN$...
I get the same results with "ReadKey 0, $in" vs. "ReadKey '0E0', $in".
I didn't get why you use "getc" and not "ReadKey" (which not always uses
"getc").
See perldoc Term::ReadKey, under ReadKey MODE [, Filehandle], at the end
it mentions Windows and getc.
I was pointing to the difference between calling ReadKey with 0 and with
'0E0'. The first has the "erratic" behaviour, the second not. See the
conditionals involved in the source.
My conclusion at this moment: don't use "getc" but "ReadKey", and if you
don't want ReadKey to use getc, but still want a blocked read, use MODE
'0E0' (as a workaround).
--
Affijn, Ruud
"Gewoon is een tijger."
------------------------------
Date: Fri, 21 Apr 2006 12:15:17 +0200
From: "Dr.Ruud" <rvtol+news@isolution.nl>
Subject: Re: Tracing SQL queries done via DBI (mod_perl)
Message-Id: <e2aimr.19k.1@news.isolution.nl>
Ignoramus8495 schreef:
> I would like to have a log of all SQL queries that my scripts do via
> DBI. (80k+ of perl code, mod_perl)
>
> I have one entry point (module) whose job is to give the database
> handle to everyone. So I have control over the handle.
>
> There is a trace() method on DBI, however, it does not properly print
> the statements that were prepare'd a long time ago and are repeatedly
> execute'd.
>
> So... What am I missing?
>
> Can I somehow track all statements that are executed?
There was a thread on this in news://nntp.perl.org//perl.dbi.users
recently.
That is the mailing list <dbi-users(AT)perl.org>, contact
<dbi-users-help(AT)perl.org> for help.
--
Affijn, Ruud
"Gewoon is een tijger."
------------------------------
Date: Fri, 21 Apr 2006 14:45:02 +0200
From: "Dave" <daveandniki@ntlworld.com>
Subject: Re: XS Progamming with Perl 6
Message-Id: <4448d3d8$0$20167$8fcfb975@news.wanadoo.fr>
"Sisyphus" <sisyphus1@nomail.afraid.org> wrote in message
news:4448a3ff$0$7531$afc38c87@news.optusnet.com.au...
>
> "Ferry Bolhar" <bol@adv.magwien.gv.at> wrote in message
> news:1145605843.403792@proxy.dienste.wien.at...
>> Hi,
>>
>> the subject says all. How about it? Are there some docs about this topic
>> already?
>>
>
> My understanding is that, with the advent of perl6, XS becomes
> non-existent.
>
> From what I've read I consider it likely that, when perl5 finally becomes
> obsolete, I will stop using perl altogether - but it's a bit premature to
> be
> definite about that - and, of course, it's by no means guaranteed that I
> will live that long.
>
> Cheers,
> Rob
>
>
What puts you off Perl6? What would you choose to use in its place?
------------------------------
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 9186
***************************************