[26701] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 8802 Volume: 10

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Tue Dec 27 18:05:26 2005

Date: Tue, 27 Dec 2005 15:05:04 -0800 (PST)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)

Perl-Users Digest           Tue, 27 Dec 2005     Volume: 10 Number: 8802

Today's topics:
        ANNOUNCE: POE v0.33 - Now with exceptions. <troc@pobox.com>
    Re: perl, v5.8.7 Windows 2003 PPM 3.3 <pekka_news@yahoo.co.uk>
    Re: unable to get all html code on Yahoo tmp1235711@yahoo.com
    Re: unable to get all html code on Yahoo <1usa@llenroc.ude.invalid>
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

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

Date: Tue, 27 Dec 2005 19:28:15 GMT
From: Rocco Caputo <troc@pobox.com>
Subject: ANNOUNCE: POE v0.33 - Now with exceptions.
Message-Id: <Is6907.1ut5@zorch.sf-bay.org>
Keywords: multitasking, networking, framework, components, robust, cool

--------------------------------------
Happy New Gregorian Year!  In advance!
--------------------------------------

POE 0.33 has been released.  Thanks go out to everyone who helped
develop it.

Highlights of changes since version 0.32.

* POE::Exceptions rolled into core.

The long-running POE::Exceptions experiment was a success, and its
features have been rolled into POE.means death in event handlers is gracefully propagated as a signal
rather than immediately bringing down the entire program.  If the
signal isn't caught, however, POE shuts down deliberately rather than
messily.  Matt Cashner and Jonathan Steinert put in a lot of effort to
make this work well.

* Signal dispatch reworked, especially regarding SIGCHLD.

Speaking of Jonathan Steinert and signals, he found and fixed a lot of
problems with signal dispatch in general, especially regarding
SIGCHLD.  We now have child process reaping during the END times with
mandatory warnings if any were left behind.  This should clear up any
lingering zombies before a program exits, and it will let you know the
problem exists.  It won't clear up zombies during long-term runs.
That's up to you to do by registering a sig(CHLD) event.

* Lost SIGCHLD signals found again.

Speaking of SIGCHLD, Jonathan Steinert made $SIG{CHLD} be "DEFAULT"
again.  While IGNORE was well-meaning, it introduced a lot of problems
including lost signals in many cases.  We can't have that, so now we
don't.  As a result, you're going to need to reap your own children.
Don't fork around without setting up a sig(CHLD) handler.

* POE::Filter::HTTPD gets along with MSIE better.

Philip Gwyn patched the filter to deal with MSIE's tendency to send
along extra network newlines at the end of POST requests.

* Legacy Perl Support

Philip Gwyn patched the tests to avoid spurious errors in versions of
Perl circa 1995.

* POE::Component::Server::TCP concurrency limit.

Philip Gwyn added a Concurrency parameter to PoCo::Server::TCP to
limit the number of concurrent connections the server should handle.
It's used to limit a program's load, or even ensure that only one
client can connect at a time.

* Cleaned up -W warnings.

Joel Bernstein pointed out that POE wasn't -W safe.  It should be as
of version 0.3202.

* POE::Component::Server::TCP socket leak corrected.

Abhishek Jain discovered a socket leak in PoCo::Server::TCP, which was
subsequently fixed in version 0.3201.

* Event handler context preservation.

Event handlers are invoked in void context if the dispatcher is called
in void context.  Previously it would be called in scalar context,
giving rise to a subtle edge case where objects wouldn't destruct
properly.

As if that wasn't enough, POE's web site contains detailed logs for
every public release, ever!

 - http://poe.perl.org/?POE_CHANGES

Even now the latest tarball should be hurtling towards your favorite
CPAN mirror.  It is also on the web, and so is a Windows PPD!  Users
who need advanced notice of changes can follow POE's development in
CVS or discuss new features on the mailing list.

 - http://poe.perl.org/?Where_to_Get_POE
 - http://poe.perl.org/?POE_Support_Resources

Thanks again to everyone who helped with this release.  Keep the
feedback and patches coming.

---------
About POE
---------

POE is a networking and multitasking framework for Perl.  It has been
in active development since 1996, and its first public release was in
1998.  O'Reilly's The Perl Conference (now part of OSCON) named it
"Best New Module" in 1999.

 - http://poe.perl.org/?What_POE_Is

POE's users and developers continue to improve and build upon it.  See
the CPAN for the most up-to-date list of POE based modules.

 - http://search.cpan.org/search?mode=module&query=POE

POE's robustness and performance have made it an integral part of
mission critical applications since its first release.  It is used in
several fields, and in projects ranging from just a few lines of code
to hundreds of thousands.

 - Financial:
   Market servers, clients, billing systems, and automated trading
   agents.

 - Web:
   Commerce servers, content management systems, application servers,
   data warehouses, WAP proxies, ad exchanges, web crawlers/spiders,
   and a variety of specialized agents.

 - System Administration:
   Large-scale host monitors and maintenance agents, distributed load
   testers, a distributed file system (InterMezzo), radius monitors,
   system log managers and reports, SNMP monitors, and spam detectors.

 - Entertainment:
   Interactive TV servers; mp3 jukeboxes and streaming servers; game
   server monitors, managers, and tournament controllers; and a
   plethora of IRC applications, services, and agents (bots).

 - Software Development:
   Compile farm managers, build managers, distributed testing
   frameworks.

 - Monitoring and Automation:
   X10 home control systems, weather station monitors, alarm monitors.

We look forward to hearing how POE has helped you.

-- 
Rocco Caputo - rcaputo@cpan.org - http://poe.perl.org/




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

Date: Tue, 27 Dec 2005 23:29:30 +0200
From: "Pekka Siiskonen" <pekka_news@yahoo.co.uk>
Subject: Re: perl, v5.8.7 Windows 2003 PPM 3.3
Message-Id: <dosbvf$310$1@phys-news4.kolumbus.fi>

----- Original Message ----- 
From: "Matt Garrish" <matthew...@...ca>
Newsgroups: comp.lang.perl.misc
Sent: Tuesday, December 27, 2005 4:21 PM
Subject: Re: perl, v5.8.7 Windows 2003 PPM 3.3
> I think you've misunderstood. PPM comes with ActivePerl and *does not*
> require anything else to run. When you install ActivePerl, you have a
> working version of PPM. The documentation, however, made it read like you
> needed nmake and a C compiler, which is only true when using the CPAN
shell
> and has nothing to do with PPM (i.e., running the command "perl -MCPAN -e
> shell").


so ... What did I do wrong or what went wrong as I could find the DBI module
(search dbi) but could not install it? Absolutely not a true perl pro but am
willing to learn!

pekka




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

Date: Tue, 27 Dec 2005 19:47:28 GMT
From: tmp1235711@yahoo.com
Subject: Re: unable to get all html code on Yahoo
Message-Id: <3f53r1dkt40elu0351ukkjp31d8kebtb74@4ax.com>

On Tue, 27 Dec 2005 10:23:27 +0000, Brian Wakem <no@email.com> wrote:
>
>The subject line mentions Yahoo.  I'm confused.
>
>
>
>>     $html_response = $response->content;
>>     print $html_response;
>>     print RAW_HTML $html_response;
>> }
>> # is not getting the price data, any help would be most appreciated
>
>
>View the source of the page you are retrieving.  There is not price data
>there, it's inserted by calling some external JS files.

I made a typo on the subject line - did not intend to type "on yahoo".
Thank you for your reply, I have been teaching myself Perl for a month
and still have not learned as much as needed. How do I call these
external JS files so I can capture the data?  I mean I can see the
call "<script language="JavaScript" src="http:", how can I have Perl
automatically execute the call?


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

Date: Tue, 27 Dec 2005 20:05:36 GMT
From: "A. Sinan Unur" <1usa@llenroc.ude.invalid>
Subject: Re: unable to get all html code on Yahoo
Message-Id: <Xns9739998F42AF8asu1cornelledu@127.0.0.1>

tmp1235711@yahoo.com wrote in
news:3f53r1dkt40elu0351ukkjp31d8kebtb74@4ax.com: 

> On Tue, 27 Dec 2005 10:23:27 +0000, Brian Wakem <no@email.com> wrote:
 ...
>>View the source of the page you are retrieving.  There is not price
>>data there, it's inserted by calling some external JS files.
> 
> I made a typo on the subject line - did not intend to type "on yahoo".
> Thank you for your reply, I have been teaching myself Perl for a month
> and still have not learned as much as needed. How do I call these
> external JS files so I can capture the data?  I mean I can see the
> call "<script language="JavaScript" src="http:", how can I have Perl
> automatically execute the call?

I don't know if there is a Javascript interpreter module available for 
Perl: My guess is there is not.

One option is to look at what the Javascript code is doing, and then re-
write that in Perl.

Sinan

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

comp.lang.perl.misc guidelines on the WWW:
http://mail.augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html


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

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


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