[30640] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 1885 Volume: 11

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Mon Sep 29 06:09:42 2008

Date: Mon, 29 Sep 2008 03:09:07 -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, 29 Sep 2008     Volume: 11 Number: 1885

Today's topics:
    Re: Any thoughts on catalyst? <brian.d.foy@gmail.com>
    Re: Download files script. <spamtrap@dot-app.org>
    Re: FAQ 2.2 How can I get a binary version of perl? <mjcarman@mchsi.com>
    Re: FAQ 2.2 How can I get a binary version of perl? <brian.d.foy@gmail.com>
    Re: How to unable the use of tainted mode in a CGI scri <azol@non-non-non>
    Re: How to unable the use of tainted mode in a CGI scri <tim@burlyhost.com>
        new CPAN modules on Mon Sep 29 2008 (Randal Schwartz)
    Re: Newlines on Windows <rvtol+news@isolution.nl>
    Re: Newlines on Windows <hjp-usenet2@hjp.at>
    Re: Replacing binary data containing & using perl in HP badkmail@gmail.com
    Re: Terminate the entire Perl script when control_C in  <josef.moellers@fujitsu-siemens.com>
    Re: What does m@ stand for in the following regular exp <rvtol+news@isolution.nl>
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

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

Date: Sun, 28 Sep 2008 17:50:53 -0500
From: brian d  foy <brian.d.foy@gmail.com>
Subject: Re: Any thoughts on catalyst?
Message-Id: <280920081750534038%brian.d.foy@gmail.com>

In article
<46918cde-17d1-4c49-8c57-64a6a43dfdd2@b2g2000prf.googlegroups.com>,
walterbyrd <walterbyrd@iname.com> wrote:

> When I google catalyst vs whatever, I keep getting pages of hits about
> some benchmark test.

What are you searching for? When I google "perl catalyst", the top hit
is 

   http://www.catalystframework.org/

Which  I think answers all of your questions.

> IMO: execution speed is important, but it is not the only thing in the
> world. I am also interested in speed of development, ease of learning,
> availability of hosting, documentation, community and so on.
 
> I barely use perl, and I have never used catalyst. 

If you're not up on your Perl skills, you'll need to study up. Catalyst
isn't that hard, but it does assume that you know Perl.


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

Date: Sun, 28 Sep 2008 10:09:01 -0400
From: Sherm Pendley <spamtrap@dot-app.org>
Subject: Re: Download files script.
Message-Id: <m1zlls5pmq.fsf@dot-app.org>

mathaios <internetpowerfultools@gmail.com> writes:

> Is there anyone who can replace the values needed to be changed in the
> script  below for base downloads folder, downloads log file name,

No, because those things vary from one server to the next. You'll need
to ask your admin or hosting provider what values to enter.

> allowed file types

No, because no one here knows what types of files *you* want to allow
for this. That's not a decision that relates to Perl programming - it's
a question of policy that the site owner needs to answer.

sherm--

-- 
My blog: http://shermspace.blogspot.com
Cocoa programming in Perl: http://camelbones.sourceforge.net


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

Date: Sun, 28 Sep 2008 15:30:22 GMT
From: Michael Carman <mjcarman@mchsi.com>
Subject: Re: FAQ 2.2 How can I get a binary version of perl?
Message-Id: <hqNDk.363511$yE1.156468@attbi_s21>

PerlFAQ Server wrote:
> 2.2: How can I get a binary version of perl?
> 
>     For Windows, ActiveState provides a pre-built Perl for free:
> 
>             http://www.activestate.com/


We should add a reference to Strawberry Perl. http://strawberryperl.com/

-mjc


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

Date: Sun, 28 Sep 2008 17:48:20 -0500
From: brian d  foy <brian.d.foy@gmail.com>
Subject: Re: FAQ 2.2 How can I get a binary version of perl?
Message-Id: <280920081748204863%brian.d.foy@gmail.com>

In article <hqNDk.363511$yE1.156468@attbi_s21>, Michael Carman
<mjcarman@mchsi.com> wrote:

> PerlFAQ Server wrote:
> > 2.2: How can I get a binary version of perl?
> > 
> >     For Windows, ActiveState provides a pre-built Perl for free:
> > 
> >             http://www.activestate.com/
> 
> 
> We should add a reference to Strawberry Perl. http://strawberryperl.com/

Fixed, thanks.

I also noted all of the other platforms that ActiveState targets.


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

Date: Sun, 28 Sep 2008 22:25:08 +0200
From: Azol <azol@non-non-non>
Subject: Re: How to unable the use of tainted mode in a CGI script ?
Message-Id: <MPG.234a068ebce2e0529897f2@news.free.fr>

In article <ebvDk.28$Ra2.19@newsfe06.iad>, tim@burlyhost.com says...
> That is unfortunate, and wrong.  I suggest you start looking for a
> hosting provider that has a better idea of how this works.
> 

I've asked them more info about the reason why of their strange 
decision... I'll see their reply.

Also, awaiting this, and knbowing I don't see any separated error.log 
anywhere, I've tried to catch the error using :

use CGI::Carp qw/fatalsToBrowser/;

And it doesn't work : nothing special on browser's screen ? Does-it 
means there again a special config on their side ?

:((


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

Date: Sun, 28 Sep 2008 13:39:36 -0700
From: Tim Greer <tim@burlyhost.com>
Subject: Re: How to unable the use of tainted mode in a CGI script ?
Message-Id: <dYRDk.3630$uS7.2552@newsfe02.iad>

Azol wrote:

> In article <ebvDk.28$Ra2.19@newsfe06.iad>, tim@burlyhost.com says...
>> That is unfortunate, and wrong.  I suggest you start looking for a
>> hosting provider that has a better idea of how this works.
>> 
> 
> I've asked them more info about the reason why of their strange
> decision... I'll see their reply.
> 
> Also, awaiting this, and knbowing I don't see any separated error.log
> anywhere, I've tried to catch the error using :
> 
> use CGI::Carp qw/fatalsToBrowser/;
> 
> And it doesn't work : nothing special on browser's screen ? Does-it
> means there again a special config on their side ?
> 
> :((

If -T is causing it to fail, it's pretty just like having invalid syntax
that would cause the script to error rather than execute.  It can't
report an error in that way, if the script can't run.  So, you'd have
it fail and error in a way that wouldn't relate to showing errors via
CGI::Carp, I'm sorry to say.  That's not going to allow you to see
why/the error.  Ask them where the error logs are located.  Do you have
shell/ssh access?  Do you have any control panel or interface where you
can view logs, or download them via FTP, or anything?  Ultimately, you
should just get a better web host that understands the advantages to
allowing Taint (I honestly can't conceive of a reason why a host would
make an effort to NOT allow something that only helps their clients
create more secure scripts.  I'd worry about what else they've done (or
have not done) that affects stability, security and efficiency).
-- 
Tim Greer, CEO/Founder/CTO, BurlyHost.com, Inc.
Shared Hosting, Reseller Hosting, Dedicated & Semi-Dedicated servers
and Custom Hosting.  24/7 support, 30 day guarantee, secure servers.
Industry's most experienced staff! -- Web Hosting With Muscle!


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

Date: Mon, 29 Sep 2008 04:42:24 GMT
From: merlyn@stonehenge.com (Randal Schwartz)
Subject: new CPAN modules on Mon Sep 29 2008
Message-Id: <K7xx2o.Ls9@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.

AnyEvent-4.234
http://search.cpan.org/~mlehmann/AnyEvent-4.234/
provide framework for multiple event loops 
----
App-Bondage-0.3.3
http://search.cpan.org/~hinrik/App-Bondage-0.3.3/
A featureful IRC bouncer based on POE::Component::IRC 
----
BerkeleyDB-Manager-0.06
http://search.cpan.org/~nuffin/BerkeleyDB-Manager-0.06/
General purpose BerkeleyDB wrapper 
----
CAM-PDF-1.51
http://search.cpan.org/~cdolan/CAM-PDF-1.51/
PDF manipulation library 
----
CPAN-WWW-Testers-0.35
http://search.cpan.org/~barbie/CPAN-WWW-Testers-0.35/
Present CPAN Testers data 
----
CPANPLUS-YACSmoke-0.14
http://search.cpan.org/~bingos/CPANPLUS-YACSmoke-0.14/
Yet Another CPANPLUS Smoke Tester 
----
Catalyst-Authenticaton-Store-Htpasswd-1.000
http://search.cpan.org/~bobtfish/Catalyst-Authenticaton-Store-Htpasswd-1.000/
----
CatalystX-ListFramework-Builder-0.36
http://search.cpan.org/~oliver/CatalystX-ListFramework-Builder-0.36/
Instant AJAX web front-end for DBIx::Class, using Catalyst 
----
Cogwheel-0.02
http://search.cpan.org/~stypnow/Cogwheel-0.02/
A Client/Server Networking Framework based on Moose and Sprocket 
----
DBIx-StORM-0.10
http://search.cpan.org/~lukeross/DBIx-StORM-0.10/
Perl extension for object-relational mapping 
----
DBIx-VersionedSubs-0.07
http://search.cpan.org/~corion/DBIx-VersionedSubs-0.07/
all your code are belong into the DB 
----
Games-Risk-1.1.1
http://search.cpan.org/~jquelin/Games-Risk-1.1.1/
classical 'risk' board game 
----
Gitosis-Config-0.0.2
http://search.cpan.org/~perigrin/Gitosis-Config-0.0.2/
Parse and Write gitosis config files 
----
Graphics-Primitive-0.33
http://search.cpan.org/~gphat/Graphics-Primitive-0.33/
Device and library agnostic graphic primitives 
----
Graphics-Primitive-Driver-CairoPango-0.4
http://search.cpan.org/~gphat/Graphics-Primitive-Driver-CairoPango-0.4/
Cairo/Pango backend for Graphics::Primitive 
----
Imager-SkinDetector-0.02
http://search.cpan.org/~cosimo/Imager-SkinDetector-0.02/
The great new Imager::SkinDetector! 
----
Lingua-JA-FindDates-0.009
http://search.cpan.org/~bkb/Lingua-JA-FindDates-0.009/
scan text to find Japanese dates 
----
MooseX-Method-Signatures-0.03
http://search.cpan.org/~flora/MooseX-Method-Signatures-0.03/
Method declarations with type constraints and no source filter 
----
Mouse-0.07
http://search.cpan.org/~sartak/Mouse-0.07/
Moose minus the antlers 
----
Mouse-0.08
http://search.cpan.org/~sartak/Mouse-0.08/
Moose minus the antlers 
----
Parse-Win32Registry-0.40
http://search.cpan.org/~jmacfarla/Parse-Win32Registry-0.40/
Parse Windows Registry Files 
----
Pod-From-GoogleWiki-0.07
http://search.cpan.org/~fayland/Pod-From-GoogleWiki-0.07/
convert from Google Code wiki markup to POD 
----
Provision-Unix-0.27
http://search.cpan.org/~msimerson/Provision-Unix-0.27/
provision accounts on unix systems 
----
SVN-Hooks-0.10.364
http://search.cpan.org/~gnustavo/SVN-Hooks-0.10.364/
A framework for implementing Subversion hooks. 
----
SVN-Look-0.10.369
http://search.cpan.org/~gnustavo/SVN-Look-0.10.369/
A caching wrapper aroung the svnlook command. 
----
Shell-Amazon-S3-0.04
http://search.cpan.org/~kitano/Shell-Amazon-S3-0.04/
Shell for Amazon S3 
----
Task-BeLike-FAYLAND-0.01
http://search.cpan.org/~fayland/Task-BeLike-FAYLAND-0.01/
Modules Fayland loves! 
----
Task-Kensho-0.0.4
http://search.cpan.org/~perigrin/Task-Kensho-0.0.4/
A Glimpse at an Enlightened Perl 
----
Test-Valgrind-0.07
http://search.cpan.org/~vpit/Test-Valgrind-0.07/
Test Perl code through valgrind. 
----
Test-Weaken-1.000000
http://search.cpan.org/~jkegl/Test-Weaken-1.000000/
Test that freed references are, indeed, freed 
----
Text-Match-FastAlternatives-1.04
http://search.cpan.org/~arc/Text-Match-FastAlternatives-1.04/
efficient search for many strings 
----
Tk-TextVi-0.014
http://search.cpan.org/~jstrom/Tk-TextVi-0.014/
Tk::Text widget with Vi-like commands 
----
Tk-TextVi-0.0141
http://search.cpan.org/~jstrom/Tk-TextVi-0.0141/
Tk::Text widget with Vi-like commands 
----
Verilog-Perl-3.043
http://search.cpan.org/~wsnyder/Verilog-Perl-3.043/
----
WWW-Mechanize-1.49_01
http://search.cpan.org/~petdance/WWW-Mechanize-1.49_01/
Handy web browsing in a Perl object 
----
WWW-Ruten-0.01
http://search.cpan.org/~gugod/WWW-Ruten-0.01/
Scripting www.ruten.com.tw 
----
WWW-Search-Ebay-2.244
http://search.cpan.org/~mthurn/WWW-Search-Ebay-2.244/
backend for searching www.ebay.com 
----
WWW-Search-Ebay-2.245
http://search.cpan.org/~mthurn/WWW-Search-Ebay-2.245/
backend for searching www.ebay.com 
----
WWW-Search-Ebay-2.246
http://search.cpan.org/~mthurn/WWW-Search-Ebay-2.246/
backend for searching www.ebay.com 
----
WebService-NFSN-0.08
http://search.cpan.org/~cjm/WebService-NFSN-0.08/
Client for the NearlyFreeSpeech.NET API 
----
eGuideDog-Dict-Mandarin-0.5
http://search.cpan.org/~hgneng/eGuideDog-Dict-Mandarin-0.5/
an informal Pinyin dictionary. 
----
lib-0.59_01
http://search.cpan.org/~smueller/lib-0.59_01/
manipulate @INC at compile time 


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/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion


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

Date: Sun, 28 Sep 2008 15:43:46 +0200
From: "Dr.Ruud" <rvtol+news@isolution.nl>
Subject: Re: Newlines on Windows
Message-Id: <gbo8ok.8s.1@news.isolution.nl>

Jürgen Exner schreef:

> your combination \r\n on Windows will result in 0x0D 0X0A 0x0D.

On Windows, \n is CR-LF, not LF-CR.

-- 
Affijn, Ruud

"Gewoon is een tijger."



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

Date: Sun, 28 Sep 2008 20:18:32 +0200
From: "Peter J. Holzer" <hjp-usenet2@hjp.at>
Subject: Re: Newlines on Windows
Message-Id: <slrngdvijq.o9j.hjp-usenet2@hrunkner.hjp.at>

On 2008-09-28 09:38, Jürgen Exner <jurgenex@hotmail.com> wrote:
> "Peter J. Holzer" <hjp-usenet2@hjp.at> wrote:
>>It is worth noting that the translation Jürgen talks about happens only
>>during file I/O. Inside of a perl script, "\n" is always a single
>>character ("\015" on old MacOS,  "\012" on Unix, Windows, and (I think)
>>also on MacOS X). When writing to a file with the :crlf I/O layer enabled
>>(which is the default on Windows, but you can turn it off with binmode
>>or an argument to open), the single "\n" is converted to "\015\012". The
>>reverse conversion is done when reading a file with the :crlf layer.
>
> To be crystal clear on that: did you mean "writing to a file" or
> "writing to a file handle"?

File handle.

	hp


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

Date: Mon, 29 Sep 2008 02:42:43 -0700 (PDT)
From: badkmail@gmail.com
Subject: Re: Replacing binary data containing & using perl in HPUX 11.11
Message-Id: <eae1b8ad-167e-4bba-a7fe-d8b0fcbbe2ad@i24g2000prf.googlegroups.com>

Thanks Sherm and Peter. I have another query. I have seen in some
places the constants &apos;, &amp; etc being used. I googled and found
that these are HTML constants. Is my understanding correct? and how is
it possible to use these with perl?


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

Date: Mon, 29 Sep 2008 09:28:17 +0200
From: Josef Moellers <josef.moellers@fujitsu-siemens.com>
Subject: Re: Terminate the entire Perl script when control_C in an application
Message-Id: <gbq02h$253$2@nntp.fujitsu-siemens.com>

xhoster@gmail.com wrote:

> The Perl script will get signaled.  However, perl might arrange to ignore
> those signals.  That is what "system" does, anyway.
> 
> perldoc -f system

Ah, one learns something new every day.

Thanks (to you and to Ben) for pointing out.

Josef
-- 
These are my personal views and not those of Fujitsu Siemens Computers!
Josef Möllers (Pinguinpfleger bei FSC)
	If failure had no penalty success would not be a prize (T.  Pratchett)
Company Details: http://www.fujitsu-siemens.com/imprint.html


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

Date: Sun, 28 Sep 2008 16:00:35 +0200
From: "Dr.Ruud" <rvtol+news@isolution.nl>
Subject: Re: What does m@ stand for in the following regular expression.
Message-Id: <gboa4j.1lo.1@news.isolution.nl>

Martien Verbruggen schreef:

> If you use ? as the delimiter, then the pattern will only match once,
> until you call reset().

And single quote is also special. 
See perlop, Regexp Quote-Like Operators. 

-- 
Affijn, Ruud

"Gewoon is een tijger."


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

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


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