[29692] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 936 Volume: 11

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Mon Oct 15 03:09:37 2007

Date: Mon, 15 Oct 2007 00:09:05 -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           Mon, 15 Oct 2007     Volume: 11 Number: 936

Today's topics:
    Re: a nice little perl utility <Cloink_Friggson@ntlworld.com>
        new CPAN modules on Mon Oct 15 2007 (Randal Schwartz)
        Parsing of undecoded UTF-16 error <jpittman2@gmail.com>
    Re: Passing Post Params & Object Reference ? <wheeledBob@yahoo.com>
        Perl threads + HTTPS = Crash :( <danett18@yahoo.com.br>
        Strong Blog CGI in Perl <izidoor@invalid.com>
    Re: Strong Blog CGI in Perl <cwilbur@chromatico.net>
    Re: Windows,ASSOC,FTYPE,.pl,.plx,.sh <anonymous@127.0.0.1>
    Re: Windows,ASSOC,FTYPE,.pl,.plx,.sh <veatchla@yahoo.com>
    Re: Windows,ASSOC,FTYPE,.pl,.plx,.sh <veatchla@yahoo.com>
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

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

Date: Sun, 14 Oct 2007 09:27:08 -0700
From:  Cloink <Cloink_Friggson@ntlworld.com>
Subject: Re: a nice little perl utility
Message-Id: <1192379228.714247.258690@q5g2000prf.googlegroups.com>

> >>  #!/usr/bin/perl -l
> >I take it, this is the appropriate shebang line for xp?
>
> Any would do. I use this one since it will work both under Linux and
> Windows. Of course under the latter it is not interpreted by the
> kernel as under the former, but perl re-reads it anyway for switches,
> so in this case uses -l.

Um, I thought I'd better be a good boy and add the shebang as written
here (I'm on Windows), but it stopped my cgi-script working.
Eventually, I tracked down an error in my Apache error.log saying

"[Sun Oct 14 17:15:26 2007] [error] [client 127.0.0.1] (OS 3)The
system cannot find the path specified.  : couldn't create child
process: 720003: xx.pl, referer: http://[etc]"

So that comment about it not affecting Windows isn't necessarily true.
Ok, I presume it's <i>Apache</i> interpreting the shebang line, not
Windows, but I'm still running on a Windows box (using localhost, so
as both client/server).



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

Date: Mon, 15 Oct 2007 04:42:16 GMT
From: merlyn@stonehenge.com (Randal Schwartz)
Subject: new CPAN modules on Mon Oct 15 2007
Message-Id: <JpxrqG.6JG@zorch.sf-bay.org>

The following modules have recently been added to or updated in the
Comprehensive Perl Archive Network (CPAN).  You can install them using the
instructions in the 'perlmodinstall' page included with your Perl
distribution.

Acme-Colour-Fuzzy-0.02
http://search.cpan.org/~mbarbon/Acme-Colour-Fuzzy-0.02/
give names to arbitrary RGB triplets 
----
Acme-ComeFrom-0.10
http://search.cpan.org/~audreyt/Acme-ComeFrom-0.10/
Parallel Goto-in-reverse 
----
Acme-LOLCAT-0.0.3
http://search.cpan.org/~kcowgill/Acme-LOLCAT-0.0.3/
SPEEK LIEK A LOLCATZ 
----
Acme-emcA-0.10
http://search.cpan.org/~audreyt/Acme-emcA-0.10/
Acme::emcA 
----
Apache2-AuthenOpenID-0.01
http://search.cpan.org/~danjou/Apache2-AuthenOpenID-0.01/
OpenID authen hander for mod_perl2. 
----
Apache2-AuthenOpenID-0.02
http://search.cpan.org/~danjou/Apache2-AuthenOpenID-0.02/
OpenID authen hander for mod_perl2. 
----
Astro-SpaceTrack-0.029
http://search.cpan.org/~wyant/Astro-SpaceTrack-0.029/
Retrieve orbital data from www.space-track.org. 
----
Bot-Net-0.0.4
http://search.cpan.org/~hanenkamp/Bot-Net-0.0.4/
run your very own IRC bot net 
----
Business-TW-Invoice-U420-0.01
http://search.cpan.org/~clkao/Business-TW-Invoice-U420-0.01/
Print Taiwan Unified Invoice with U420 printer 
----
CPAN-Reporter-1.01
http://search.cpan.org/~dagolden/CPAN-Reporter-1.01/
Adds CPAN Testers reporting to CPAN.pm 
----
CPAN-Reporter-1.02
http://search.cpan.org/~dagolden/CPAN-Reporter-1.02/
Adds CPAN Testers reporting to CPAN.pm 
----
Cache-Funky-0.06
http://search.cpan.org/~tomyhero/Cache-Funky-0.06/
How is simple, convenient cache module? 
----
Cache-Funky-Storage-Memcached-0.04
http://search.cpan.org/~tomyhero/Cache-Funky-Storage-Memcached-0.04/
Cache::Funky Memcached Storage. 
----
Cairo-1.043
http://search.cpan.org/~tsch/Cairo-1.043/
Perl interface to the cairo library 
----
Catalyst-Plugin-ConfigLoader-0.18
http://search.cpan.org/~bricas/Catalyst-Plugin-ConfigLoader-0.18/
Load config files of various types 
----
Catalyst-Plugin-ConfigLoader-Multi-0.03
http://search.cpan.org/~tomyhero/Catalyst-Plugin-ConfigLoader-Multi-0.03/
Catalyst Plugin for Multiple ConfigLoader 
----
Catalyst-Plugin-Log-Colorful-0.03
http://search.cpan.org/~tomyhero/Catalyst-Plugin-Log-Colorful-0.03/
Catalyst Plugin for Colorful Log 
----
Class-PseudoHash-1.10
http://search.cpan.org/~audreyt/Class-PseudoHash-1.10/
Emulates Pseudo-Hash behaviour via overload 
----
Color-Similarity-0.01
http://search.cpan.org/~mbarbon/Color-Similarity-0.01/
common interface to different Color::Similarity::* modules 
----
Color-Similarity-HCL-0.03
http://search.cpan.org/~mbarbon/Color-Similarity-HCL-0.03/
compute color similarity using the HCL color space 
----
Convert-CharMap-0.10
http://search.cpan.org/~audreyt/Convert-CharMap-0.10/
Conversion between Unicode Character Maps 
----
Crypt-Elijah-0.09
http://search.cpan.org/~bomb/Crypt-Elijah-0.09/
cipher module 
----
Curses-1.17
http://search.cpan.org/~giraffed/Curses-1.17/
terminal screen handling and optimization 
----
Data-Remember-0.07
http://search.cpan.org/~hanenkamp/Data-Remember-0.07/
remember complex information without giving yourself a headache 
----
Devel-AssertLib-0.1
http://search.cpan.org/~dcantrell/Devel-AssertLib-0.1/
check that a library is available 
----
Devel-CheckOS-1.2
http://search.cpan.org/~dcantrell/Devel-CheckOS-1.2/
check what OS we're running on 
----
Email-Outlook-Message-0.903
http://search.cpan.org/~mvz/Email-Outlook-Message-0.903/
Read Outlook .msg files 
----
Exception-Base-0.11
http://search.cpan.org/~dexter/Exception-Base-0.11/
Lightweight exceptions 
----
File-DirList-0.01
http://search.cpan.org/~tpaba/File-DirList-0.01/
provide a sorted list of directory content 
----
File-Remove-0.38
http://search.cpan.org/~adamk/File-Remove-0.38/
Remove files and directories 
----
Geo-Gpx-0.21
http://search.cpan.org/~andya/Geo-Gpx-0.21/
Create and parse GPX files. 
----
Glib-1.161
http://search.cpan.org/~tsch/Glib-1.161/
Perl wrappers for the GLib utility and Object libraries 
----
Gtk2-1.161
http://search.cpan.org/~tsch/Gtk2-1.161/
Perl interface to the 2.x series of the Gimp Toolkit library 
----
Gungho-0.08012
http://search.cpan.org/~dmaki/Gungho-0.08012/
Yet Another High Performance Web Crawler Framework 
----
Gungho-0.08013
http://search.cpan.org/~dmaki/Gungho-0.08013/
Yet Another High Performance Web Crawler Framework 
----
HTML-Template-Filter-TT2-0.03
http://search.cpan.org/~saper/HTML-Template-Filter-TT2-0.03/
Template Toolkit 2 syntax for HTML::Template 
----
Hash-Dirty-0.022
http://search.cpan.org/~rkrimen/Hash-Dirty-0.022/
Keep track of whether a hash is dirty or not 
----
Hash-Dirty-0.023
http://search.cpan.org/~rkrimen/Hash-Dirty-0.023/
Keep track of whether a hash is dirty or not 
----
IPC-SysV-1.99_02
http://search.cpan.org/~mhx/IPC-SysV-1.99_02/
SysV IPC constants 
----
IPC-SysV-1.99_03
http://search.cpan.org/~mhx/IPC-SysV-1.99_03/
SysV IPC constants 
----
IPC-SysV-1.99_04
http://search.cpan.org/~mhx/IPC-SysV-1.99_04/
System V IPC constants and system calls 
----
JSON-XS-1.52
http://search.cpan.org/~mlehmann/JSON-XS-1.52/
JSON serialising/deserialising, done correctly and fast 
----
Lingua-EN-Conjugate-0.3
http://search.cpan.org/~rwg/Lingua-EN-Conjugate-0.3/
Conjugation of English verbs 
----
Lingua-EN-Conjugate-0.301
http://search.cpan.org/~rwg/Lingua-EN-Conjugate-0.301/
Conjugation of English verbs 
----
Lingua-EN-Contraction-0.1
http://search.cpan.org/~rwg/Lingua-EN-Contraction-0.1/
Add apostrophes all over the place... 
----
Lingua-EN-Contraction-0.101
http://search.cpan.org/~rwg/Lingua-EN-Contraction-0.101/
Add apostrophes all over the place... 
----
Locale-Maketext-Fuzzy-0.10
http://search.cpan.org/~audreyt/Locale-Maketext-Fuzzy-0.10/
Maketext from already interpolated strings 
----
Locale-Maketext-Utils-v0.0.8
http://search.cpan.org/~dmuey/Locale-Maketext-Utils-v0.0.8/
Adds some utility functionality and failure handling to Local::Maketext handles 
----
Log-Log4perl-1.13
http://search.cpan.org/~mschilli/Log-Log4perl-1.13/
Log4j implementation for Perl 
----
Mail-Builder-1.00
http://search.cpan.org/~maros/Mail-Builder-1.00/
Easily create e-mails with attachments, html and inline images 
----
Mail-Builder-1.01
http://search.cpan.org/~maros/Mail-Builder-1.01/
Easily create e-mails with attachments, html and inline images 
----
Net-OAuth-0.03
http://search.cpan.org/~kgrennan/Net-OAuth-0.03/
----
Net-Proxy-0.11
http://search.cpan.org/~book/Net-Proxy-0.11/
Framework for proxying network connections in many ways 
----
NetSNMP-LogParser-1.0479
http://search.cpan.org/~nito/NetSNMP-LogParser-1.0479/
An incremental logparser to be used with Net-SNMP 
----
NetSNMP-LogParser-1.0480
http://search.cpan.org/~nito/NetSNMP-LogParser-1.0480/
An incremental logparser to be used with Net-SNMP 
----
NetSNMP-MibProxy-1.0479
http://search.cpan.org/~nito/NetSNMP-MibProxy-1.0479/
Simple pass_persist script for Net-SNMP 
----
NetSNMP-MibProxy-1.0480
http://search.cpan.org/~nito/NetSNMP-MibProxy-1.0480/
Simple pass_persist script for Net-SNMP 
----
PPI-1.200
http://search.cpan.org/~adamk/PPI-1.200/
Parse, Analyze and Manipulate Perl (without perl) 
----
Parse-Apache-ServerStatus-0.04
http://search.cpan.org/~bloonix/Parse-Apache-ServerStatus-0.04/
Simple module to parse apache's server-status. 
----
Parse-Marpa-0.001_013
http://search.cpan.org/~jkegl/Parse-Marpa-0.001_013/
Earley's Algorithm, with improvements 
----
Parse-Marpa-0.001_014
http://search.cpan.org/~jkegl/Parse-Marpa-0.001_014/
Earley's Algorithm, with improvements 
----
PathTools-3.25_01
http://search.cpan.org/~kwilliams/PathTools-3.25_01/
----
Pod-ProjectDocs-0.33
http://search.cpan.org/~lyokato/Pod-ProjectDocs-0.33/
generates CPAN like pod pages 
----
QWizard-3.11
http://search.cpan.org/~hardaker/QWizard-3.11/
Display a series of questions, get the answers, and act on the answers. 
----
Quota-1.6.0
http://search.cpan.org/~tomzo/Quota-1.6.0/
Perl interface to file system quotas 
----
Sendmail_M4.0.29
http://search.cpan.org/~cml/Sendmail_M4.0.29/
----
Sendmail_M4.0.29a
http://search.cpan.org/~cml/Sendmail_M4.0.29a/
----
Sphinx-Search-0.07
http://search.cpan.org/~jjschutz/Sphinx-Search-0.07/
Sphinx search engine API Perl client 
----
String-Smart-0.3
http://search.cpan.org/~andya/String-Smart-0.3/
Strings that know how to escape themselves. 
----
Template-Plugin-Latex-3.00_05
http://search.cpan.org/~andrewf/Template-Plugin-Latex-3.00_05/
Template Toolkit plugin for Latex 
----
Test-Weaken-0.001_004
http://search.cpan.org/~jkegl/Test-Weaken-0.001_004/
Test for leaks after weakening of circular references 
----
Test-Weaken-0.001_005
http://search.cpan.org/~jkegl/Test-Weaken-0.001_005/
Test for leaks after weakening of circular references 
----
Tk-FlatCheckbox-0.07_50
http://search.cpan.org/~srezic/Tk-FlatCheckbox-0.07_50/
----
Unicode-EastAsianWidth-1.10
http://search.cpan.org/~audreyt/Unicode-EastAsianWidth-1.10/
East Asian Width properties 
----
Util-Properties-0.13
http://search.cpan.org/~alexmass/Util-Properties-0.13/
Java.util.properties like class 
----
VCI-0.3.0_1
http://search.cpan.org/~mkanat/VCI-0.3.0_1/
A generic interface for interacting with various version-control systems. 
----
Win32-HardLink-0.03
http://search.cpan.org/~audreyt/Win32-HardLink-0.03/
----
Win32-HardLink-0.04
http://search.cpan.org/~audreyt/Win32-HardLink-0.04/
----
Win32-Hardlink-0.10
http://search.cpan.org/~audreyt/Win32-Hardlink-0.10/
Hardlink support on Windows 
----
Win32-Hardlink-0.11
http://search.cpan.org/~audreyt/Win32-Hardlink-0.11/
Hardlink support on Windows 
----
WordNet-Similarity-2.01
http://search.cpan.org/~tpederse/WordNet-Similarity-2.01/
modules for computing semantic relatedness. 
----
YAML-Syck-0.98
http://search.cpan.org/~audreyt/YAML-Syck-0.98/
Fast, lightweight YAML loader and dumper 
----
i18n-0.10
http://search.cpan.org/~audreyt/i18n-0.10/
Perl Internationalization Pragma 


If you're an author of one of these modules, please submit a detailed
announcement to comp.lang.perl.announce, and we'll pass it along.

This message was generated by a Perl program described in my Linux
Magazine column, which can be found on-line (along with more than
200 other freely available past column articles) at
  http://www.stonehenge.com/merlyn/LinuxMag/col82.html

print "Just another Perl hacker," # the original

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!


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

Date: Sun, 14 Oct 2007 23:02:33 -0700
From:  livefreeordie <jpittman2@gmail.com>
Subject: Parsing of undecoded UTF-16 error
Message-Id: <1192428153.845381.146130@e34g2000pro.googlegroups.com>

Hi - I'm using the following construct to parse an HTML page:

use HTTP::Request;
use LWP::UserAgent;

my $req = new HTTP::Request(GET=>$url);
my $ua  = new LWP::UserAgent();
my $resp = $ua->request($req);
my $content = $resp->decoded_content();

I'm getting the following error when attempting to access this URL:

Error: Parsing of undecoded UTF-16 at C:/Perl/lib/LWP/Protocol.pm line
116.
URL:  http://securities.stanford.edu/1009/RICKEL96/'

When I take a look at the content, each character is separated by a
newline or space.

What is this, and how can I get around it?  I've retrieved other pages
successfully.

Jamie



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

Date: Sun, 14 Oct 2007 23:48:06 GMT
From: still me <wheeledBob@yahoo.com>
Subject: Re: Passing Post Params & Object Reference ?
Message-Id: <lka5h3tj4vbms44fkq4pv1ouq9pj7lt40j@4ax.com>

On Sun, 14 Oct 2007 05:52:49 +0200, Gunnar Hjalmarsson
<noreply@gunnar.cc> wrote:

>> Here's a hardcoded sample (no array for simplicity) that I tried as a
>> test just to figure out how to get the parameters passed: 
>> 
>> my $param1 = "'test1'=>'001',";
>> my $param2 = "'test2'=>'002'";
>> my $response = $browser->post( $url,[$param1, $param2]);
>
>Try this:
>
>     my %params = ( test1 => '001', test2 => '002' );
>     my $response = $browser->post( $url, [ %params ] );

Thanks, that got me going in the right direction. 




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

Date: Sun, 14 Oct 2007 20:27:46 -0700
From:  Dan <danett18@yahoo.com.br>
Subject: Perl threads + HTTPS = Crash :(
Message-Id: <1192418866.457916.226260@v29g2000prd.googlegroups.com>

Hi,

I have a program in perl which do several HTTP requests, so I
implemented some threads to get it running more fast, in general I use
5 threads at the same time.

The program work perfectly when i'm requesting only HTTP pages with
multiple threads, however when I change HTTP to HTTPS with multiple
threads the program crash (segmentation fault / access violation). If
I use HTTPS and only one thread the program work perfectly. :(

That's looks like really strange for me, which come to my mind is that
HTTPS is not thread safe in perl?

Some extra informations...

$ perl -v

This is perl, v5.8.8 built for i486-linux-gnu-thread-multi

I have SSL modules instaled...

libcrypt-ssleay-perl            0.51-5
libio-socket-ssl-perl           1.01-1
libnet-ssleay-perl              1.30-1

Module versions....

'AutoLoader.pm' => '5.63 from /usr/local/share/perl/5.8.8/
AutoLoader.pm'
'Carp.pm' => '1.04 from /usr/share/perl/5.8/Carp.pm'
'Carp/Heavy.pm' => '/usr/share/perl/5.8/Carp/Heavy.pm'
'Config.pm' => '/usr/lib/perl/5.8/Config.pm'
'Config_heavy.pl' => '/usr/lib/perl/5.8/Config_heavy.pl'
'DynaLoader.pm' => '1.04 from /usr/lib/perl/5.8/DynaLoader.pm'
'Exporter.pm' => '5.58 from /usr/share/perl/5.8/Exporter.pm'
'Exporter/Heavy.pm' => '5.58 from /usr/share/perl/5.8/Exporter/
Heavy.pm'
'Getopt/Long.pm' => '2.35 from /usr/share/perl/5.8/Getopt/Long.pm'
'HTTP/Cookies.pm' => '1.39 from /usr/share/perl5/HTTP/Cookies.pm'
'HTTP/Cookies/Netscape.pm' => '1.26 from /usr/share/perl5/HTTP/Cookies/
Netscape.pm'
'HTTP/Date.pm' => '1.47 from /usr/share/perl5/HTTP/Date.pm'
'HTTP/Headers.pm' => '1.64 from /usr/share/perl5/HTTP/Headers.pm'
'HTTP/Headers/Util.pm' => '1.13 from /usr/share/perl5/HTTP/Headers/
Util.pm'
'HTTP/Message.pm' => '1.57 from /usr/share/perl5/HTTP/Message.pm'
'HTTP/Request.pm' => '1.40 from /usr/share/perl5/HTTP/Request.pm'
'HTTP/Response.pm' => '1.53 from /usr/share/perl5/HTTP/Response.pm'
'HTTP/Status.pm' => '1.28 from /usr/share/perl5/HTTP/Status.pm'
'IO.pm' => '1.22 from /usr/lib/perl/5.8/IO.pm'
'IO/Handle.pm' => '1.25 from /usr/lib/perl/5.8/IO/Handle.pm'
'LWP.pm' => '5.805 from /usr/share/perl5/LWP.pm'
'LWP/Debug.pm' => '/usr/share/perl5/LWP/Debug.pm'
'LWP/MemberMixin.pm' => '/usr/share/perl5/LWP/MemberMixin.pm'
'LWP/Protocol.pm' => '1.43 from /usr/share/perl5/LWP/Protocol.pm'
'LWP/UserAgent.pm' => '2.033 from /usr/share/perl5/LWP/UserAgent.pm'
'SelectSaver.pm' => '1.01 from /usr/share/perl/5.8/SelectSaver.pm'
'SelfLoader.pm' => '1.0904 from /usr/share/perl/5.8/SelfLoader.pm'
'Symbol.pm' => '1.06 from /usr/share/perl/5.8/Symbol.pm'
'Term/Cap.pm' => '1.09 from /usr/share/perl/5.8/Term/Cap.pm'
'Term/ReadKey.pm' => '2.30 from /usr/lib/perl5/Term/ReadKey.pm'
'Term/ReadLine.pm' => '1.02 from /usr/share/perl/5.8/Term/ReadLine.pm'
'Term/ReadLine/Perl.pm' => '1.0302 from /usr/local/share/perl/5.8.4/
Term/ReadLine/Perl.pm'
'Term/ReadLine/readline.pm' => '1.0302 from /usr/local/share/perl/
5.8.4/Term/ReadLine/readline.pm'
'Time/Local.pm' => '1.11 from /usr/share/perl/5.8/Time/Local.pm'
'URI.pm' => '1.35 from /usr/share/perl5/URI.pm'
'URI/Escape.pm' => '3.28 from /usr/share/perl5/URI/Escape.pm'
'XSLoader.pm' => '0.06 from /usr/lib/perl/5.8/XSLoader.pm'
'attributes.pm' => '0.06 from /usr/share/perl/5.8/attributes.pm'
'constant.pm' => '1.05 from /usr/share/perl/5.8/constant.pm'
'integer.pm' => '1.00 from /usr/share/perl/5.8/integer.pm'
'overload.pm' => '1.04 from /usr/share/perl/5.8/overload.pm'
'perl5db.pl' => '1.28 from /usr/share/perl/5.8/perl5db.pl'
'strict.pm' => '1.03 from /usr/share/perl/5.8/strict.pm'
'threads.pm' => '1.07 from /usr/lib/perl/5.8/threads.pm'
'threads/shared.pm' => '0.94 from /usr/lib/perl/5.8/threads/shared.pm'
'vars.pm' => '1.01 from /usr/share/perl/5.8/vars.pm'
'warnings.pm' => '1.05 from /usr/share/perl/5.8/warnings.pm'
'warnings/register.pm' => '1.01 from /usr/share/perl/5.8/warnings/
register.pm'

If I run the program with multiple threads and HTTPS inside perl -d in
Linux I get this error:

$perl -d program.pl
Attempt to free unreferenced scalar: SV 0xa579768, Perl interpreter:
0xa4154e0 during global destruction.
*** glibc detected *** corrupted double-linked list: 0x089dc180 ***
Aborted.

In Windows I get this one:

Unhandled exception in SSLEAVY32.DLL: 0xC0000005: Access Violation.

A disasm part of this exception is:
01EC7FCB   push        2A7h
01EC7FD0   push        1ED5990h
01EC7FD5   push        0Ch
01EC7FD7   push        9
01EC7FD9   mov         dword ptr [esp+18h],eax
01EC7FDD   call        01ECB17A
01EC7FE2   mov         eax,dword ptr [esp+1Ch]
01EC7FE6   mov         esi,dword ptr [eax+20h]   <- BREAK here
01EC7FE9   lea         ecx,[esp+14h]
01EC7FED   push        ecx
01EC7FEE   mov         dword ptr [eax+20h],0
01EC7FF5   mov         edx,dword ptr [esp+20h]
01EC7FF9   push        1EC8030h
01EC7FFE   push        edx
01EC7FFF   call        01ECB564
01EC8004   mov         eax,dword ptr [esp+28h]
01EC8008   push        2ACh
01EC800D   push        1ED5990h
01EC8012   push        0Ch
01EC8014   push        0Ah
01EC8016   mov         dword ptr [eax+20h],esi
01EC8019   call        01ECB17A
01EC801E   add         esp,2Ch
01EC8021   pop         esi
01EC8022   add         esp,0Ch
01EC8025   ret
01EC8026   nop
01EC8027   nop
01EC8028   nop
01EC8029   nop

My SSL libs in windows are:

libeay32.dll 908 KB (929.792 bytes)
SSLeay32.dll 192 KB (196.608 bytes)

They do not have versions, so I pasted the size.

I do my requests like this:

$req = new HTTP::Request GET => "http://$host/$url";

Or for HTTPS:

$req = new HTTP::Request GET => "https://$host/$url";

Is this a know problem in perl? How to fix it?

Thank you a lot.

Regards,



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

Date: Sun, 14 Oct 2007 21:10:12 +0200
From: Izidoor <izidoor@invalid.com>
Subject: Strong Blog CGI in Perl
Message-Id: <MPG.217c88046aa34110989963@news.tiscali.fr>

Hello everybody. Do you know about a strong CGI written in Perl to 
manage a blog ? 

Looking around, I've seen a lot in PHP/MySQL or even without MySQL, but 
nothing in Perl. Or, more precisely, the some I've seen in Perl doesn't 
show the usual features like list of recent comments, calendar to browse 
the archives, easy configuration, etc.


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

Date: 14 Oct 2007 18:38:15 -0400
From: Charlton Wilbur <cwilbur@chromatico.net>
Subject: Re: Strong Blog CGI in Perl
Message-Id: <87sl4dl3u0.fsf@mithril.chromatico.net>

>>>>> "I" == Izidoor  <izidoor@invalid.com> writes:

    I> Looking around, I've seen a lot in PHP/MySQL or even without
    I> MySQL, but nothing in Perl. Or, more precisely, the some I've
    I> seen in Perl doesn't show the usual features like list of
    I> recent comments, calendar to browse the archives, easy
    I> configuration, etc.

Er, LiveJournal and MovableType don't have "the usual features"?

There's also Blosxom, which I'm not familiar with.

Charlton


-- 
Charlton Wilbur
cwilbur@chromatico.net


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

Date: Sun, 14 Oct 2007 14:51:06 -0400
From: "Jim Carlock" <anonymous@127.0.0.1>
Subject: Re: Windows,ASSOC,FTYPE,.pl,.plx,.sh
Message-Id: <4712651f$0$26393$4c368faf@roadrunner.com>

"Ben Morrow" wrote:
: However, it is not in any way a Perl (or perl) question, so please
: take it elsewhere.

Hi, Ben,

It deals with Perl but not only Perl, and because it deals with PHP,
VB and many others, consider it specifically a Perl issue, as Perl
represents the only problem presented. If you don't know the answer,
trying to understand the problem might help, and if the answer still
remains elusive, trying to understand the problem again might help.
If the understanding presents itself, and an answer remains elusive,
searching and working through things helps. An answer exists and it
may exist for other programs as well. I'm still digging through it
all just not full-time.

-- 
Jim Carlock
Swimming Pool, Spa And Water Feature Builders
http://www.aquaticcreationsnc.com/




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

Date: Sun, 14 Oct 2007 23:00:33 -0500
From: l v <veatchla@yahoo.com>
Subject: Re: Windows,ASSOC,FTYPE,.pl,.plx,.sh
Message-Id: <13h5pevjq7vd2e5@news.supernews.com>

Jim Carlock wrote:
> "l v" wrote...
> : So you want to install Perl on a windows server but do not want
> : Perl scripts to execute via the web. Correct?
> 
> Perl is already installed. I just want a fully enabled cmd prompt,
> but I don't want to go through the GLOBAL changes that FTYPE and
> ASSOC apply. Environmental variables are locally maintained within
> a cmd prompt, meaning if you change one of those, they only affect
> that particular cmd prompt and NONE of the others that are already
> open and that open in the future. I'm wondering if there's a way to
> get an association to take effect without GLOBALLY producing the
> association.
> 
> It's 100% a problem to Windows NT and possibly Windows 9x. In effect,
> it's more of learning how to work with a cmd prompt than it is any-
> thing else. I was hoping someone within the Perl group delt with it
> in the past and knew of an answer.
> 
> I know how to configure httpd.conf to run Perl within an Apache web-
> server (that's not what I'm dealing with).
> 
> Perl is installed, but ASSOC points the extensions to a handler that
> does not handle anything, so typing in a Perl filename inside a cmd
> prompt does not run the files. The cmd prompt needs to get configured
> to make sure the PATH environmental variable points to a proper path,
> and then to run the scripts... I think I need to dig into permissions
> and reconfigure Apache with a different set of permissions. If any-
> one has a link explaining configuring Apache permissions on a Windows
> server, that would be kindly appreciated.
> 
> Thanks.
> 

This has nothing to do with Perl and everything to do with your OS.

You could leave ASSOC set they way you want.  However, since you have 
severed the tie between your file extension and the Perl executable then 
you must tell the command prompt what you want to with the perl script 
by issuing "perl script.pl".

Now if you don't like that, you can convert each your Perl scripts into 
a batch file by using pl2bat (if you are running Activestate's Perl).

Even then, I am not sure if it will work if FTYPE is not set correctly. 
  You are on you own.

-- 

Len


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

Date: Sun, 14 Oct 2007 23:21:06 -0500
From: l v <veatchla@yahoo.com>
Subject: Re: Windows,ASSOC,FTYPE,.pl,.plx,.sh
Message-Id: <13h5qlgoai3vbbc@news.supernews.com>

Jim Carlock wrote:
> There a way to make the shebang work on a Windows system?
> 

er, sort of.  It does depend ASSOC and FTYPE being configured correctly.

On a properly installed version of Perl a shebang of #!notepad  will 
open notepad when the perl script is executed.

Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.

d:\>assoc .pl
 .pl=Perl

d:\>ftype Perl
Perl="D:\Perl\bin\perl.exe" "%1" %*

d:\>type 1.pl
#!perl

print "ok\n";

d:\>1.pl
ok

d:\>type 2.pl
#!notepad

print "ok\n";

d:\>2.pl
(notepad was started with the contents of 1.pl displayed.)

-- 

Len


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

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 V11 Issue 936
**************************************


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