[31142] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 2387 Volume: 11

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sun May 3 16:09:50 2009

Date: Sun, 3 May 2009 13:09:14 -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           Sun, 3 May 2009     Volume: 11 Number: 2387

Today's topics:
    Re: "Perl has been pretty much forgotten" says Spolsky <benkasminbullock@gmail.com>
    Re: "Perl has been pretty much forgotten" says Spolsky <rui.maciel@gmail.com>
    Re: "Perl has been pretty much forgotten" says Spolsky <cwilbur@chromatico.net>
    Re: "Perl has been pretty much forgotten" says Spolsky <jurgenex@hotmail.com>
    Re: "Perl has been pretty much forgotten" says Spolsky sln@netherlands.com
    Re: "Perl has been pretty much forgotten" says Spolsky sln@netherlands.com
    Re: F<utf8.pm> is evil (was: XML::LibXML UTF-8 toString <whynot@pozharski.name>
    Re: generating WordProcessingML with Perl sln@netherlands.com
    Re: learn about computer sln@netherlands.com
        new CPAN modules on Sun May  3 2009 (Randal Schwartz)
    Re: Perl 5.10: Safety of experimental features? sln@netherlands.com
    Re: Perl 5.10: Safety of experimental features? sln@netherlands.com
    Re: Perl 5.10: Safety of experimental features? sln@netherlands.com
    Re: Perl 5.10: Safety of experimental features? sln@netherlands.com
    Re: Perl 5.10: Safety of experimental features? sln@netherlands.com
        stackoverflow.com (was: "Perl has been pretty much forg <hjp-usenet2@hjp.at>
        Test post, no longer available? sln@netherlands.com
    Re: Test post, no longer available? sln@netherlands.com
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

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

Date: Sat, 2 May 2009 19:30:56 -0700 (PDT)
From: Ben Bullock <benkasminbullock@gmail.com>
Subject: Re: "Perl has been pretty much forgotten" says Spolsky
Message-Id: <1833bbbf-a448-4e22-bd46-ba3d9cbb0a2a@z16g2000prd.googlegroups.com>

On May 1, 6:05=A0pm, Ben Bullock <benkasminbull...@gmail.com> wrote:
> In case anyone's interested, this is Joel Spolsky of stackoverflow.com
> on Perl:

For those who don't know who Joel Spolsky is and what
stackoverflow.com is, it's a kind of question and answer site for
programmers founded by two blog authors, Spolsky and another person
called Jeff Atwood.

I used to use the site a lot but stopped posting because of stuff like
this:

http://stackoverflow.com/questions/815787/what-perl-regex-can-match-camelca=
se-words

> Assuming you aren't using the regex to do extraction, and just matching..=
 .
> [A-Z][a-zA-z]*
> Isn't the only real requirement that it's all letters and starts with a c=
apital letter?

I'll leave spotting the mistake here as an exercise for the reader.
What bothers me isn't the mistake so much as that someone has
"upvoted" the answer, and yet another person has wrongly stated it is
"equivalent to Brian's answer". Note that there is no way of knowing
who upvoted this answer. When I was posting on the site I repeatedly
saw wrong answers being upvoted, and had the experience of correct
answers I'd written being downvoted.

I suggest people steer clear of this kind of misinformation site.





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

Date: Sun, 03 May 2009 12:00:31 +0100
From: Rui Maciel <rui.maciel@gmail.com>
Subject: Re: "Perl has been pretty much forgotten" says Spolsky
Message-Id: <49fd794f$0$19706$a729d347@news.telepac.pt>

Andrew DeFaria wrote:

> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>

Please try not to post HTML encoded messages.


Rui Maciel



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

Date: Sun, 03 May 2009 13:01:57 -0400
From: Charlton Wilbur <cwilbur@chromatico.net>
Subject: Re: "Perl has been pretty much forgotten" says Spolsky
Message-Id: <86skjmi0hm.fsf@mithril.chromatico.net>

>>>>> "RM" == Rui Maciel <rui.maciel@gmail.com> writes:

    RM> Andrew DeFaria wrote:
    >> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    >> <html> <head>

    RM> Please try not to post HTML encoded messages.

We've had this dust-up with Mr. DeFaria before.  You're better off just
plonking him.

Charlton



-- 
Charlton Wilbur
cwilbur@chromatico.net


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

Date: Sun, 03 May 2009 10:20:09 -0700
From: Jürgen Exner <jurgenex@hotmail.com>
Subject: Re: "Perl has been pretty much forgotten" says Spolsky
Message-Id: <hekrv4dhhjb4o8p6tq2pm9p2g99cnsio6o@4ax.com>

Rui Maciel <rui.maciel@gmail.com> wrote:
>Andrew DeFaria wrote:
>
>> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
>> <html>
>> <head>
>
>Please try not to post HTML encoded messages.

Oh, I had no idea Mr. DeFaria is still around. You must be new because
everyone else has plonked him a loooooong time ago.

jue


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

Date: Sun, 03 May 2009 11:33:03 -0700
From: sln@netherlands.com
Subject: Re: "Perl has been pretty much forgotten" says Spolsky
Message-Id: <anorv45qh5hpfqbct7cj480l8b1ibvue5m@4ax.com>

On Sun, 03 May 2009 10:20:09 -0700, Jürgen Exner <jurgenex@hotmail.com> wrote:

>Rui Maciel <rui.maciel@gmail.com> wrote:
>>Andrew DeFaria wrote:
>>
>>> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
>>> <html>
>>> <head>
>>
>>Please try not to post HTML encoded messages.
>
>Oh, I had no idea Mr. DeFaria is still around. You must be new because
>everyone else has plonked him a loooooong time ago.
>
>jue
I didn't filter this guy. Anybody else I should know about?
I'm new to plonking. How do I plonk somebody, because I really don't
want to see plonking responses?

-sln


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

Date: Sun, 03 May 2009 11:34:56 -0700
From: sln@netherlands.com
Subject: Re: "Perl has been pretty much forgotten" says Spolsky
Message-Id: <4rorv4hm1n3sp0l7qd89bbglvte7uv125f@4ax.com>

On Sun, 03 May 2009 13:01:57 -0400, Charlton Wilbur <cwilbur@chromatico.net> wrote:

>>>>>> "RM" == Rui Maciel <rui.maciel@gmail.com> writes:
>
>    RM> Andrew DeFaria wrote:
>    >> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
>    >> <html> <head>
>
>    RM> Please try not to post HTML encoded messages.
>
>We've had this dust-up with Mr. DeFaria before.  You're better off just
>plonking him.
>
>Charlton
Never had a dust problem with this guy. Maybe you should plonk like you
plonk your boss at work.

-sln


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

Date: Sun, 03 May 2009 02:55:16 +0300
From: Eric Pozharski <whynot@pozharski.name>
Subject: Re: F<utf8.pm> is evil (was: XML::LibXML UTF-8 toString() -vs- nodeValue())
Message-Id: <slrngvpnb7.jj9.whynot@orphan.zombinet>

On 2009-04-28, Peter J. Holzer <hjp-usenet2@hjp.at> wrote:
> On 2009-04-23 23:48, Eric Pozharski <whynot@pozharski.name> wrote:
>> On 2009-04-22, Peter J. Holzer <hjp-usenet2@hjp.at> wrote:
*SKIP*
>>> plan to make it open source. Almost every programmer on the world has at
*SKIP*
>>> least a basic grasp of English. But if for some reason you have to write
>>
>> "Quotation needed (tm)".  Or define "programmer".
>
> Anybody who writes programs of more than trivial complexity on a regular
> basis.

Agreed.  And being paid or not is orthogonal to this definition, what I
agree too.

I've thought a lot about all that thread (again).  In case you would
have gone with a quotation there would be almost nothing to say.  But
you've gone with the definition.  Pretty fair.  But then I have a
problem with the conclusion.

Consider this.  You've met someone, he doesn't speak your languages, you
doesn't speak his languages.  How are you going to find out if he's
programmer, barber, or president of some banana republic?  You have no
means.

I assure you, there're lots of programmers who speak only those
languages they speak outside of programming.  There're those, who speak
only one language, which they speak from birth.  (personal experience)
10 years I'd studied French at school;  I know for sure there're 10
verbs that are in Passe Compose conjugated with a verb "aller"(?) and
others are with a verb "etre" (spelling is incorrect);  And I don't know
this list;  And I didn't know ever.  After 10 years.  And what is even
more surprising there're those who teach English and don't speak either.
Or any other language.  I've met those.

And there're lots of them.  Once I've spotted a message, with a
statement I remember up today: "NTU KPI -- 11 thousand cretins yearly"
(I can't get that message, google fails even to find phrases that I've
seen yesterday).  I don't think them are 11 thousands, they all are
cretins, and that they are even cretins.  That's a panic.  We just
believe in some "famous" high-quality education.  It wasn't even
mere-quality ever.  But it easier to believe, then facing truth.

Look, there's a culture, where learning is suspicious.  Where being
smart (not even brilliant) is an insult.  We just get used to it.

But then, in case your statement would be based on quote, that would be
problem with a source.  But that conclusion is yours.  How you've
managed to get that idea?

I've thougt a lot.  The only way I've found is based on statistical
observation that almost all (maybe without "almost") those you know, who
fit the definition, speak English (they don't have "basic grasp", they
really fluently speak).  And then you expand that observation over whole
Universe.  Doesn't that seem to be insane?

It's not.

I just get used to those arguments for sake of argument itself.  Almost
every such argument end with the statement: "Eric! Shut up! Do what I've
said!" (BTW, it wasn't expressed this way ever.)

I give up.  I have nothing to learn on this thread any more.

*CUT*

-- 
Torvalds' goal for Linux is very simple: World Domination
Stallman's goal for GNU is even simpler: Freedom


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

Date: Sun, 03 May 2009 11:48:51 -0700
From: sln@netherlands.com
Subject: Re: generating WordProcessingML with Perl
Message-Id: <kjprv4dl207v3icvr1uouao3n82g1785uf@4ax.com>

On Fri, 1 May 2009 08:55:58 -0700 (PDT), ccc31807 <cartercc@gmail.com> wrote:

>My job is to produce reports. Reports must have some kind of format.
>Mostly, I usually produce reports in ASCII format, such as txt, csv,
>or xml (including xhtml). Occasionally, my customers will specify a
>format that I don't often use, such as PDF or Microsoft Word.
>
>When this happens with Word, I have produced handwritten rtf,
>generated rtf using a CPAN module (that I can't remember the name of
>now) or (in the past a CPAN) doc module that produced a bin file. I
>now have a requirement to produce a Word document (actually thousands
>of them) for Word 2007 using data from a database.
>
>After fiddling around as I normally do looking at the usual suspects,
>I got around to OOXML, and specifically WordProcessingML. I confess
>that this impresses me and surprises me. It's pretty good -- I can
>generate an ASCII text file, interpolate my variables, and have it
>open natively in Word. Cool.
>
>Before writing the app, I thought I would troll here and see if anyone
>has any real experience using WordProcessingML, and if so, their
>conclusions, especially including traps, snares, and pitfalls.
>
>Thanks, CC.

Your 'job' is to produce reports. So you thought you would troll here
for what, before you actually read anything about it?

I have no idea what you are talking about.

-sln


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

Date: Sun, 03 May 2009 11:36:50 -0700
From: sln@netherlands.com
Subject: Re: learn about computer
Message-Id: <m0prv4td9o9ko867m2bptqdddrv26j3tcp@4ax.com>

On Sat, 2 May 2009 22:20:31 -0700 (PDT), "daniswati007@gmail.com" <daniswati007@gmail.com> wrote:

>free computer using tips for more visit www.googleloves.tk

Can you send me about 10,000 units please.

-sln@netherlands.com


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

Date: Sun, 3 May 2009 04:42:27 GMT
From: merlyn@stonehenge.com (Randal Schwartz)
Subject: new CPAN modules on Sun May  3 2009
Message-Id: <KJ1x2r.L07@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-Perl-VM-0.0.4
http://search.cpan.org/~gfuji/Acme-Perl-VM-0.0.4/
An implementation of Perl5 Virtual Machine in Pure Perl (APVM) 
----
Alien-WiX-0.305301
http://search.cpan.org/~csjewell/Alien-WiX-0.305301/
Installing and finding Windows Installer XML (WiX) 
----
Alien-Win32-LZMA-4.65
http://search.cpan.org/~adamk/Alien-Win32-LZMA-4.65/
Install and make available lzma.exe 
----
App-SVN-Bisect-0.8
http://search.cpan.org/~infinoid/App-SVN-Bisect-0.8/
binary search through svn revisions 
----
App-Toodledo-0.05
http://search.cpan.org/~pjs/App-Toodledo-0.05/
Interacting with the Toodledo task management service. 
----
Bundle-DBD-PO-2.05
http://search.cpan.org/~steffenw/Bundle-DBD-PO-2.05/
A bundle to install all DBD::PO related modules 
----
CatalystX-CRUD-YUI-0.018
http://search.cpan.org/~karman/CatalystX-CRUD-YUI-0.018/
YUI for your CatalystX::CRUD view 
----
Chart-Clicker-2.24
http://search.cpan.org/~gphat/Chart-Clicker-2.24/
Powerful, extensible charting. 
----
Class-Light-0.01003
http://search.cpan.org/~davaz/Class-Light-0.01003/
Provides cascading object initialization and autovivified accessors and mutators 
----
Config-IniFiles-2.49
http://search.cpan.org/~shlomif/Config-IniFiles-2.49/
A module for reading .ini-style configuration files. 
----
DBD-PO-2.05
http://search.cpan.org/~steffenw/DBD-PO-2.05/
DBI driver for PO files 
----
DBI-1.607_90
http://search.cpan.org/~timb/DBI-1.607_90/
Database independent interface for Perl 
----
DBIx-Class-Schema-Loader-0.04006
http://search.cpan.org/~ilmari/DBIx-Class-Schema-Loader-0.04006/
Dynamic definition of a DBIx::Class::Schema 
----
Directory-Transactional-0.08
http://search.cpan.org/~nuffin/Directory-Transactional-0.08/
----
Filter-Arguments-0.06
http://search.cpan.org/~dylan/Filter-Arguments-0.06/
Configure and read your command line arguments from @ARGV. 
----
Finance-QuoteDB-0.09
http://search.cpan.org/~ecocode/Finance-QuoteDB-0.09/
User database tools based on Finance::Quote 
----
Finance-QuoteDB-0.10
http://search.cpan.org/~ecocode/Finance-QuoteDB-0.10/
User database tools based on Finance::Quote 
----
Finance-QuoteDB-0.11
http://search.cpan.org/~ecocode/Finance-QuoteDB-0.11/
User database tools based on Finance::Quote 
----
Graphics-Primitive-0.41
http://search.cpan.org/~gphat/Graphics-Primitive-0.41/
Device and library agnostic graphic primitives 
----
Graphics-Primitive-Driver-Cairo-0.37
http://search.cpan.org/~gphat/Graphics-Primitive-Driver-Cairo-0.37/
Cairo backend for Graphics::Primitive 
----
Graphics-Primitive-Driver-CairoPango-0.57
http://search.cpan.org/~gphat/Graphics-Primitive-Driver-CairoPango-0.57/
Cairo/Pango backend for Graphics::Primitive 
----
HTML-FillInForm-Lite-1.04
http://search.cpan.org/~gfuji/HTML-FillInForm-Lite-1.04/
Lightweight FillInForm module in Pure Perl 
----
HTML-Menu-TreeView-1.05
http://search.cpan.org/~lze/HTML-Menu-TreeView-1.05/
Create a HTML TreeView from scratch 
----
HTML-Perlinfo-1.60
http://search.cpan.org/~accardo/HTML-Perlinfo-1.60/
Display a lot of Perl information in HTML format 
----
HTML-Perlinfo-1.60-withoutworldwriteables
http://search.cpan.org/~accardo/HTML-Perlinfo-1.60-withoutworldwriteables/
Display a lot of Perl information in HTML format 
----
HTML-Template-Convert-TT-0.0203
http://search.cpan.org/~mbait/HTML-Template-Convert-TT-0.0203/
----
IPC-Exe-1.006
http://search.cpan.org/~glai/IPC-Exe-1.006/
Execute processes or Perl subroutines & string them via IPC. Think shell pipes. 
----
Lingua-ZH-Summary-0.03
http://search.cpan.org/~clsung/Lingua-ZH-Summary-0.03/
Extract summary from Chinese text 
----
Log-Log4perl-1.22
http://search.cpan.org/~mschilli/Log-Log4perl-1.22/
Log4j implementation for Perl 
----
Math-Random-OO-0.21
http://search.cpan.org/~dagolden/Math-Random-OO-0.21/
Consistent object-oriented interface for generating random numbers 
----
MySQL-Admin-0.43
http://search.cpan.org/~lze/MySQL-Admin-0.43/
Mysql Administrator and more 
----
MySQL-Sandbox-2.0.99d
http://search.cpan.org/~gmax/MySQL-Sandbox-2.0.99d/
Quickly installs MySQL side server, either standalone or in groups 
----
Net-LastFM-Submission-0.63
http://search.cpan.org/~sharifuln/Net-LastFM-Submission-0.63/
Perl interface to the Last.fm Submissions Protocol 
----
Net-LastFM-Submission-0.64
http://search.cpan.org/~sharifuln/Net-LastFM-Submission-0.64/
Perl interface to the Last.fm Submissions Protocol 
----
Net-Plurk-Dumper-0.01
http://search.cpan.org/~cornelius/Net-Plurk-Dumper-0.01/
Dump plurks 
----
Net-Redmine-0.02
http://search.cpan.org/~gugod/Net-Redmine-0.02/
A mechanized-based programming API against redmine server. 
----
Net-Redmine-0.03
http://search.cpan.org/~gugod/Net-Redmine-0.03/
A mechanized-based programming API against redmine server. 
----
Net-YASA-0.03
http://search.cpan.org/~clsung/Net-YASA-0.03/
Interface to YASA (Yet Another Suffix Array) 
----
Pod-2-DocBook-0.03
http://search.cpan.org/~jkutej/Pod-2-DocBook-0.03/
Convert Pod data to DocBook SGML 
----
Scalar-Number-0.004
http://search.cpan.org/~zefram/Scalar-Number-0.004/
numeric aspects of scalars 
----
Statistics-Basic-1.6007
http://search.cpan.org/~jettero/Statistics-Basic-1.6007/
A collection of very basic statistics modules 
----
Statistics-Benford-0.07
http://search.cpan.org/~gray/Statistics-Benford-0.07/
calculate the deviation from Benford's Law 
----
Sub-Curried-0.09
http://search.cpan.org/~osfameron/Sub-Curried-0.09/
Currying of subroutines via a new 'curry' declarator 
----
Sys-Info-0.72
http://search.cpan.org/~burak/Sys-Info-0.72/
Fetch information from the host system 
----
Sys-Info-Base-0.72
http://search.cpan.org/~burak/Sys-Info-Base-0.72/
Base class for Sys::Info 
----
Sys-Info-Driver-BSD-0.72
http://search.cpan.org/~burak/Sys-Info-Driver-BSD-0.72/
BSD driver for Sys::Info 
----
Sys-Info-Driver-Linux-0.72
http://search.cpan.org/~burak/Sys-Info-Driver-Linux-0.72/
Linux driver for Sys::Info 
----
Sys-Info-Driver-Unknown-0.72
http://search.cpan.org/~burak/Sys-Info-Driver-Unknown-0.72/
Compatibility layer for Sys::Info 
----
Sys-Info-Driver-Windows-0.72
http://search.cpan.org/~burak/Sys-Info-Driver-Windows-0.72/
Windows driver for Sys::Info 
----
Term-ANSIColorx-ColorNicknames-2.718
http://search.cpan.org/~jettero/Term-ANSIColorx-ColorNicknames-2.718/
nicknames for the ANSI colors 
----
Term-ANSIColorx-ColorNicknames-2.7182
http://search.cpan.org/~jettero/Term-ANSIColorx-ColorNicknames-2.7182/
nicknames for the ANSI colors 
----
Test-Valgrind-1.02
http://search.cpan.org/~vpit/Test-Valgrind-1.02/
Generate suppressions, analyse and test any command with valgrind. 
----
Text-Template-Simple-0.79_04
http://search.cpan.org/~burak/Text-Template-Simple-0.79_04/
Simple text template engine 
----
Unicode-LineBreak-0.001_10
http://search.cpan.org/~nezumi/Unicode-LineBreak-0.001_10/
UAX #14 Unicode Line Breaking Algorithm 
----
Unicode-LineBreak-0.001_11
http://search.cpan.org/~nezumi/Unicode-LineBreak-0.001_11/
UAX #14 Unicode Line Breaking Algorithm 
----
WWW-Search-Ebay-3.009
http://search.cpan.org/~mthurn/WWW-Search-Ebay-3.009/
backend for searching www.ebay.com 
----
WWW-Search-Yahoo-2.415
http://search.cpan.org/~mthurn/WWW-Search-Yahoo-2.415/
backend for searching www.yahoo.com 
----
WebService-Google-Reader-0.08
http://search.cpan.org/~gray/WebService-Google-Reader-0.08/
Perl interface to Google Reader 
----
Xtract-0.08
http://search.cpan.org/~adamk/Xtract-0.08/
Take any data source and deliver it to the world 


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, 03 May 2009 11:41:36 -0700
From: sln@netherlands.com
Subject: Re: Perl 5.10: Safety of experimental features?
Message-Id: <h6prv4l7aqkoqmdg3oek84vrr3d0eanicc@4ax.com>

On Thu, 30 Apr 2009 19:24:23 -0400, Shmuel (Seymour J.) Metz <spamtrap@library.lspace.org.invalid> wrote:

>Perl 5.10.0 has been out long enough that it is no longer bleeding edge.
>Some of the useful new features are labelled as experimental, suggesting
>that they not be used in production code. However, the enhancements that
>I'm interested in are also in Perl 6, albeit with different syntax.
>
>Does anybody have a feel for which experimental features might plausibly
>be removed in a hypothetical Perl 5.11 and which have been solid enough or
>won enough acceptance that removal is unlikely? I'm particularly concerned
>with 0 width code insertions in regexen that apply a semantic constraint,
>e.g., do (*FAIL) if a numeric match is out of range, e.g.
>
> my $OctetPat = qr/ ( (?<!\d) \d{1,3} )
>                    (?(?{$^N > 255})
>                      (*FAIL)
>                    )
>                  /x;

I don't think you have to worry about "bleeding-edge" for quite a long
time. Try reading books on basic regular expressions first.

-sln


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

Date: Sun, 03 May 2009 12:45:08 -0700
From: sln@netherlands.com
Subject: Re: Perl 5.10: Safety of experimental features?
Message-Id: <rprrv4d56kvihsa97qha9ihgbqfpoa836k@4ax.com>

On Thu, 30 Apr 2009 19:24:23 -0400, Shmuel (Seymour J.) Metz <spamtrap@library.lspace.org.invalid> wrote:

>Perl 5.10.0 has been out long enough that it is no longer bleeding edge.
>Some of the useful new features are labelled as experimental, suggesting
>that they not be used in production code. However, the enhancements that
>I'm interested in are also in Perl 6, albeit with different syntax.
>
>Does anybody have a feel for which experimental features might plausibly
>be removed in a hypothetical Perl 5.11 and which have been solid enough or
>won enough acceptance that removal is unlikely? I'm particularly concerned
>with 0 width code insertions in regexen that apply a semantic constraint,
>e.g., do (*FAIL) if a numeric match is out of range, e.g.
>
> my $OctetPat = qr/ ( (?<!\d) \d{1,3} )
                        ^^^^^^^^^^^^^^
Rediculous. Look behind not digit and matching 1 to 3 digits
will always match any 2 digits not preceded by a digit.
So .456789053433 will always match $^N < 255 in a code conditional.

>                    (?(?{$^N > 255})
>                      (*FAIL)
>                    )
>                  /x;

Look before you leap. The enhanced regex features are experimental and
complex in nature and offer extended pattern matching and are peculiar
to Perl for now. Perl has at large competitors in the regex market and it
won't be second to no one. However, there is a common denominator that is
the 'least', of all the suppliers out there.

For that reason, any extension (including simple non-capture grouping) is not portable
in the sense it can be cut and pasted to other software that knows regex.

There are many issues, buy you should learn the basics first instead of worrying
about 'experimental' verbage in documentation. There is no standard beyond the basics
yet. If you can't solve your problem with basic regex form first, you won't know
what to do with advanced, language/lib specific features.

-sln



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

Date: Sun, 03 May 2009 12:58:48 -0700
From: sln@netherlands.com
Subject: Re: Perl 5.10: Safety of experimental features?
Message-Id: <8ptrv4pka0jpe87dpegbl2ruv9r47r6kjd@4ax.com>

On Thu, 30 Apr 2009 19:24:23 -0400, Shmuel (Seymour J.) Metz <spamtrap@library.lspace.org.invalid> wrote:

[Reposted to test EasyNews message availibility. -sln]

On Thu, 30 Apr 2009 19:24:23 -0400, Shmuel (Seymour J.) Metz <spamtrap@library.lspace.org.invalid> wrote:

>Perl 5.10.0 has been out long enough that it is no longer bleeding edge.
>Some of the useful new features are labelled as experimental, suggesting
>that they not be used in production code. However, the enhancements that
>I'm interested in are also in Perl 6, albeit with different syntax.
>
>Does anybody have a feel for which experimental features might plausibly
>be removed in a hypothetical Perl 5.11 and which have been solid enough or
>won enough acceptance that removal is unlikely? I'm particularly concerned
>with 0 width code insertions in regexen that apply a semantic constraint,
>e.g., do (*FAIL) if a numeric match is out of range, e.g.
>
> my $OctetPat = qr/ ( (?<!\d) \d{1,3} )
                        ^^^^^^^^^^^^^^
Rediculous. Look behind not digit and matching 1 to 3 digits
will always match any 2 digits not preceded by a digit.
So .456789053433 will always match $^N < 255 in a code conditional.

>                    (?(?{$^N > 255})
>                      (*FAIL)
>                    )
>                  /x;

Look before you leap. The enhanced regex features are experimental and
complex in nature and offer extended pattern matching and are peculiar
to Perl for now. Perl has at large competitors in the regex market and it
won't be second to no one. However, there is a common denominator that is
the 'least', of all the suppliers out there.

For that reason, any extension (including simple non-capture grouping) is not portable
in the sense it can be cut and pasted to other software that knows regex.

There are many issues, buy you should learn the basics first instead of worrying
about 'experimental' verbage in documentation. There is no standard beyond the basics
yet. If you can't solve your problem with basic regex form first, you won't know
what to do with advanced, language/lib specific features.

-sln



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

Date: Sun, 03 May 2009 13:07:15 -0700
From: sln@netherlands.com
Subject: Re: Perl 5.10: Safety of experimental features?
Message-Id: <5burv4lrf20k285m1p4pq99u0pm4m686f2@4ax.com>

Reply test

-sln


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

Date: Sun, 03 May 2009 13:08:13 -0700
From: sln@netherlands.com
Subject: Re: Perl 5.10: Safety of experimental features?
Message-Id: <kcurv4hbrd9abaaqkqtntqr9knmvt44epl@4ax.com>

One more time for not available.

-sln


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

Date: Sun, 3 May 2009 14:42:45 +0200
From: "Peter J. Holzer" <hjp-usenet2@hjp.at>
Subject: stackoverflow.com (was: "Perl has been pretty much forgotten" says Spolsky)
Message-Id: <slrngvr4a6.569.hjp-usenet2@hrunkner.hjp.at>

On 2009-05-03 02:30, Ben Bullock <benkasminbullock@gmail.com> wrote:
> I used to use the site a lot but stopped posting because of stuff like
> this:

I haven't used stackoverflow yet so I can't comment on the quality of
the answers in general.


> http://stackoverflow.com/questions/815787/what-perl-regex-can-match-camelcase-words
>
>> Assuming you aren't using the regex to do extraction, and just matching...
>> [A-Z][a-zA-z]*
>> Isn't the only real requirement that it's all letters and starts with a capital letter?
>
> I'll leave spotting the mistake here as an exercise for the reader.
> What bothers me isn't the mistake so much as that someone has
> "upvoted" the answer, and yet another person has wrongly stated it is
> "equivalent to Brian's answer".

And somebody else has corrected the error (which I think was a simple
typo) in the mean time.

> Note that there is no way of knowing who upvoted this answer. When I
> was posting on the site I repeatedly saw wrong answers being upvoted,
> and had the experience of correct answers I'd written being downvoted.

You'll see the same phenomenon in any Usenet discussion: Somebody posts
a correct answer, but somebody else claims that it's wrong. Or somebody
posts a wrong answer and somebody else agrees that it's correct. 

Sure, in Usenet you can see who made which comment and if you are in a
group long enough you get a feeling who you can trust, but that even the
most knowledgable make a mistake once in a while and even the dumbest
gets it right sometimes, so you'll still have to think for yourself. 

OTOH, in a long Usenet discussion it's sometimes hard to track who said
what and what the real answer is. So I think the concept of
stackoverflow (especially the ability to edit existing answers) is very
promising for a question-and-answers service (which Usenet isn't
primarily).


> I suggest people steer clear of this kind of misinformation site.

I notice that Brian's answer has 6 votes and the answer you critizised
has only 3 votes.

	hp


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

Date: Sun, 03 May 2009 12:50:43 -0700
From: sln@netherlands.com
Subject: Test post, no longer available?
Message-Id: <9atrv45g5ufvsut6c6hcqan38i4fqaafns@4ax.com>

This is a test before I cancel my subscription to easy news.

-sln


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

Date: Sun, 03 May 2009 12:53:13 -0700
From: sln@netherlands.com
Subject: Re: Test post, no longer available?
Message-Id: <5gtrv4l999h98vsomb0lnc7111v7a25k5h@4ax.com>

On Sun, 03 May 2009 12:50:43 -0700, sln@netherlands.com wrote:

>This is a test before I cancel my subscription to easy news.
>
>-sln

This is the reply test.
Have a nice day jerk!

-sln


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

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


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