[30181] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 1424 Volume: 11

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sun Apr 6 06:10:09 2008

Date: Sun, 6 Apr 2008 03:09:04 -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, 6 Apr 2008     Volume: 11 Number: 1424

Today's topics:
    Re: About perl closure. <john@castleamber.com>
        new CPAN modules on Sun Apr  6 2008 (Randal Schwartz)
    Re: Newbie wants a simple script in perl <Johann.Kappacher@chello.at>
    Re: perl should be improved and perl6 <v_r@spamless.and.happy>
    Re: perl should be improved and perl6 <get@bentsys.com>
    Re: perl should be improved and perl6 <get@bentsys.com>
    Re: perl should be improved and perl6 <john@castleamber.com>
    Re: perl should be improved and perl6 <uri@stemsystems.com>
    Re: perl should be improved and perl6 <uri@stemsystems.com>
    Re: perl should be improved and perl6 <uri@stemsystems.com>
    Re: perl should be improved and perl6 <reply_in_group@mouse-potato.com>
    Re: perl should be improved and perl6 <reply_in_group@mouse-potato.com>
    Re: perl should be improved and perl6 (aka ? the Platypus)
        Shortcut for if(defined($var) && $var ne "") ? vikimun@gmail.com
    Re: Shortcut for if(defined($var) && $var ne "") ? <Johann.Kappacher@chello.at>
    Re: Shortcut for if(defined($var) && $var ne "") ? <Johann.Kappacher@chello.at>
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

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

Date: 6 Apr 2008 04:27:42 GMT
From: John Bokma <john@castleamber.com>
Subject: Re: About perl closure.
Message-Id: <Xns9A77E47DA58F0castleamber@130.133.1.4>

"pswd" <lofenee@gmail.com> wrote:

> I have little idea about what are closures for perl?
> Is it just a function maker that returns a reference of subroutine?
> 
> Could anybody tell me what it is and show me some examples?

perldoc -q closure 

-- 
John

http://johnbokma.com/perl/


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

Date: Sun, 6 Apr 2008 04:42:17 GMT
From: merlyn@stonehenge.com (Randal Schwartz)
Subject: new CPAN modules on Sun Apr  6 2008
Message-Id: <JyvzqH.1DvI@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-PSON-0.02
http://search.cpan.org/~tomyhero/Acme-PSON-0.02/
PSON(PerlScript Object Notation) Module 
----
Alien-MeCab-0.97001
http://search.cpan.org/~dmaki/Alien-MeCab-0.97001/
Wrapper For Installing MeCab 0.97 
----
Alien-MeCab-0.97002
http://search.cpan.org/~dmaki/Alien-MeCab-0.97002/
Wrapper For Installing MeCab 0.97 
----
App-Starter-0.09
http://search.cpan.org/~tomyhero/App-Starter-0.09/
App Starter 
----
App-TimeTracker-0.08
http://search.cpan.org/~domm/App-TimeTracker-0.08/
Track time spend on projects from the commandline 
----
Audio-FindChunks-0.05-try1
http://search.cpan.org/~ilyaz/Audio-FindChunks-0.05-try1/
breaks audio files into sound/silence parts. 
----
B-Utils-0.05_08
http://search.cpan.org/~smueller/B-Utils-0.05_08/
Helper functions for op tree manipulation 
----
CPAN-Reporter-1.14_01
http://search.cpan.org/~dagolden/CPAN-Reporter-1.14_01/
Adds CPAN Testers reporting to CPAN.pm 
----
Cache-Weak-1.0.0
http://search.cpan.org/~ejs/Cache-Weak-1.0.0/
----
Cache-Weak-1.0.1
http://search.cpan.org/~ejs/Cache-Weak-1.0.1/
simple Perl object cache based on weak references 
----
Catalyst-Engine-HTTP-POE-0.07
http://search.cpan.org/~agrundma/Catalyst-Engine-HTTP-POE-0.07/
Single-threaded multi-tasking Catalyst engine (deprecated in favor of HTTP::Prefork) 
----
Catalyst-Engine-HTTP-POE-0.08
http://search.cpan.org/~agrundma/Catalyst-Engine-HTTP-POE-0.08/
Single-threaded multi-tasking Catalyst engine (deprecated in favor of HTTP::Prefork) 
----
Catalyst-Plugin-Dumper-0.00003
http://search.cpan.org/~chisel/Catalyst-Plugin-Dumper-0.00003/
Data::Dumper plugin for Catalyst 
----
Coro-4.47
http://search.cpan.org/~mlehmann/Coro-4.47/
coroutine process abstraction 
----
Crypt-Eksblowfish-0.005
http://search.cpan.org/~zefram/Crypt-Eksblowfish-0.005/
the Eksblowfish block cipher 
----
DBIx-Class-ProxyTable-0.01
http://search.cpan.org/~nekokak/DBIx-Class-ProxyTable-0.01/
without generating a schema 
----
DBIx-Class-ProxyTable-undef
http://search.cpan.org/~nekokak/DBIx-Class-ProxyTable-undef/
----
DBIx-Class-TableNames-0.01
http://search.cpan.org/~nekokak/DBIx-Class-TableNames-0.01/
get table name list from database 
----
FASTAParse-0.0.3
http://search.cpan.org/~twylie/FASTAParse-0.0.3/
A light-weight parsing module for handling FASTA formatted sequence within larger perl applications. 
----
Games-Go-Sgf2Dg-4.221
http://search.cpan.org/~reid/Games-Go-Sgf2Dg-4.221/
----
LibTracker-Client-0.01
http://search.cpan.org/~gera/LibTracker-Client-0.01/
Perl interfce to libtrackerclient 
----
Math-BigInt-1.88
http://search.cpan.org/~tels/Math-BigInt-1.88/
Arbitrary size integer/float math package 
----
Math-BigInt-FastCalc-0.16
http://search.cpan.org/~tels/Math-BigInt-FastCalc-0.16/
Math::BigInt::Calc with some XS for more speed 
----
Math-BigRat-0.21
http://search.cpan.org/~tels/Math-BigRat-0.21/
Arbitrary big rational numbers 
----
Module-Release-1.21
http://search.cpan.org/~bdfoy/Module-Release-1.21/
Automate software releases 
----
POE-Filter-Regexp-1.0
http://search.cpan.org/~vany/POE-Filter-Regexp-1.0/
Fast spliting input stream 
----
TM-Virtual-DNS-0.11
http://search.cpan.org/~drrho/TM-Virtual-DNS-0.11/
Virtual Topic Map for DNS retrieval 
----
TaskForest-1.06
http://search.cpan.org/~enoor/TaskForest-1.06/
Simple, powerful task scheduler 
----
Test-Aggregate-0.20
http://search.cpan.org/~ovid/Test-Aggregate-0.20/
Aggregate *.t tests to make them run faster. 
----
Test-DBIx-Class-Schema-0.01003
http://search.cpan.org/~chisel/Test-DBIx-Class-Schema-0.01003/
DBIx::Class schema sanity checking tests 
----
Test-Declare-0.01
http://search.cpan.org/~nekokak/Test-Declare-0.01/
declarative testing 
----
Test-Reporter-1.38_01
http://search.cpan.org/~dagolden/Test-Reporter-1.38_01/
sends test results to cpan-testers@perl.org 
----
Test-Reporter-HTTPGateway-0.001
http://search.cpan.org/~rjbs/Test-Reporter-HTTPGateway-0.001/
relay CPAN Testers reports received via HTTP 
----
Time-HiRes-1.9713
http://search.cpan.org/~jhi/Time-HiRes-1.9713/
High resolution alarm, sleep, gettimeofday, interval timers 
----
WWW-Patent-Page-0.105.1
http://search.cpan.org/~anonwb/WWW-Patent-Page-0.105.1/
get patent documents from WWW source (e.g. JP->Eng translations in HTML from JPO, complete US applications and grants from (USPTO), pdf documents from the esp@cenet at the European Patent Office (ESPA
----
WWW-Scraper-ISBN-AmazonDE_Driver-0.03
http://search.cpan.org/~reneeb/WWW-Scraper-ISBN-AmazonDE_Driver-0.03/
Search driver for the (DE) Amazon online catalog. 
----
WWW-Search-Ebay-2.236
http://search.cpan.org/~mthurn/WWW-Search-Ebay-2.236/
backend for searching www.ebay.com 
----
Win32-InternetShortcut-0.04
http://search.cpan.org/~ishigaki/Win32-InternetShortcut-0.04/
handles Internet Shortcut (IE's Favorite) 
----
Win32-UrlCache-0.06
http://search.cpan.org/~ishigaki/Win32-UrlCache-0.06/
parse Internet Explorer's history/cache/cookies 
----
bignum-0.23
http://search.cpan.org/~tels/bignum-0.23/
Transparent BigNumber support for Perl 
----
kephra-0.3.7_7
http://search.cpan.org/~lichtkind/kephra-0.3.7_7/
crossplatform, CPAN-installable GUI-Texteditor along Perl's Paradigms 
----
perfSONAR_PS-Base-0.09
http://search.cpan.org/~perfsonar/perfSONAR_PS-Base-0.09/
----
perfSONAR_PS-Client-Echo-0.09
http://search.cpan.org/~perfsonar/perfSONAR_PS-Client-Echo-0.09/
A module that provides methods for interacting with perfSONAR Echo services. 
----
perfSONAR_PS-Client-LS-Remote-0.09
http://search.cpan.org/~perfsonar/perfSONAR_PS-Client-LS-Remote-0.09/
A module that provides a client API for an LS 
----
perfSONAR_PS-Client-Status-MA-0.09
http://search.cpan.org/~perfsonar/perfSONAR_PS-Client-Status-MA-0.09/
A module that provides methods for interacting with Status MA servers. 
----
perfSONAR_PS-Client-Status-SQL-0.09
http://search.cpan.org/~perfsonar/perfSONAR_PS-Client-Status-SQL-0.09/
A module that provides methods for interacting with a Status MA database directly. 
----
perfSONAR_PS-Client-Topology-MA-0.09
http://search.cpan.org/~perfsonar/perfSONAR_PS-Client-Topology-MA-0.09/
A module that provides methods for interacting with Topology MA servers. 
----
perfSONAR_PS-Client-Topology-XMLDB-0.09
http://search.cpan.org/~perfsonar/perfSONAR_PS-Client-Topology-XMLDB-0.09/
A module that provides methods for interacting with a Topology MA database directly. 
----
perfSONAR_PS-Collectors-Daemon-0.09
http://search.cpan.org/~perfsonar/perfSONAR_PS-Collectors-Daemon-0.09/
----
perfSONAR_PS-Collectors-LinkStatus-0.09
http://search.cpan.org/~perfsonar/perfSONAR_PS-Collectors-LinkStatus-0.09/
A module that will collect link status information and store the results into a Link Status MA. 
----
perfSONAR_PS-DB-File-0.09
http://search.cpan.org/~perfsonar/perfSONAR_PS-DB-File-0.09/
A module that provides methods for adding 'database like' functions to files that contain XML markup. 
----
perfSONAR_PS-DB-RRD-0.09
http://search.cpan.org/~perfsonar/perfSONAR_PS-DB-RRD-0.09/
A module that provides a simple API for dealing with data stored in rrd files through the RRDTool's RRDp perl module. 
----
perfSONAR_PS-DB-SQL-0.09
http://search.cpan.org/~perfsonar/perfSONAR_PS-DB-SQL-0.09/
A module that provides methods for dealing with common SQL databases. 
----
perfSONAR_PS-DB-XMLDB-0.09
http://search.cpan.org/~perfsonar/perfSONAR_PS-DB-XMLDB-0.09/
A module that provides methods for dealing with the Sleepycat [Oracle] XML database. 
----
perfSONAR_PS-Services-Daemon-0.09
http://search.cpan.org/~perfsonar/perfSONAR_PS-Services-Daemon-0.09/
----
perfSONAR_PS-Services-LS-0.09
http://search.cpan.org/~perfsonar/perfSONAR_PS-Services-LS-0.09/
This is a stub module to make it easier for installing the Lookup Service. This allows them install "perfSONAR_PS::Services::LS" instead of having to install "perfSONAR_PS::Services::LS::LS" 
----
perfSONAR_PS-Services-MA-Base-0.09
http://search.cpan.org/~perfsonar/perfSONAR_PS-Services-MA-Base-0.09/
----
perfSONAR_PS-Services-MA-CircuitStatus-0.09
http://search.cpan.org/~perfsonar/perfSONAR_PS-Services-MA-CircuitStatus-0.09/
A module that provides methods for an E2EMon Compatible MP. 
----
perfSONAR_PS-Services-MA-SNMP-0.09
http://search.cpan.org/~perfsonar/perfSONAR_PS-Services-MA-SNMP-0.09/
A module that provides methods for the perfSONAR-PS SNMP based Measurement Archive (MA). 
----
perfSONAR_PS-Services-MA-Status-0.09
http://search.cpan.org/~perfsonar/perfSONAR_PS-Services-MA-Status-0.09/
A module that provides methods for a an L2 Status Measurement Archive. The service can be used to make Link Status Data available to individuals via webservice interface. 
----
perfSONAR_PS-Services-MA-Topology-0.09
http://search.cpan.org/~perfsonar/perfSONAR_PS-Services-MA-Topology-0.09/
A module that provides methods for a Topology Service. The Topology Service can be used to make Topology Data available to individuals via webservice interface. 
----
perfSONAR_PS-Services-MA-perfSONARBUOY-0.09
http://search.cpan.org/~perfsonar/perfSONAR_PS-Services-MA-perfSONARBUOY-0.09/
A module that provides methods for the perfSONARBUOY MA. perfSONARBUOY exposes data formerly collected by the AMI framework, including BWCTL and OWAMP data. This data is stored in a database backend (
----
perfSONAR_PS-Services-PingER-0.09
http://search.cpan.org/~perfsonar/perfSONAR_PS-Services-PingER-0.09/
----
perfSONAR_PS-Status-Common-0.09
http://search.cpan.org/~perfsonar/perfSONAR_PS-Status-Common-0.09/
A module that provides common methods for Link Status clients and services within the perfSONAR-PS framework. 
----
perfSONAR_PS-Topology-Common-0.09
http://search.cpan.org/~perfsonar/perfSONAR_PS-Topology-Common-0.09/
A module that provides various utility functions for Topology structures. 


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, 06 Apr 2008 11:16:56 +0200
From: Johann Kappacher <Johann.Kappacher@chello.at>
Subject: Re: Newbie wants a simple script in perl
Message-Id: <79362$47f89526$d52f8dcf$8861@news.chello.at>

Hi,

Rui Macial has already told you: "Do not let others do your homework!"
Try some coding first.
Moreover, many neebies have asked the same question, you will find 
helpful replies.

This works at least in ksh/bash: (no shell builtins for var-substitution)

while read file
do
  f_short=$(echo $file | cut -d . -f 1)    # strip the .txt suffix
  C_PROGRAM $file > "${f_short}.mp3"
done < list1

--jk


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

Date: Sat, 5 Apr 2008 21:10:22 -0700
From: "V.Ronans" <v_r@spamless.and.happy>
Subject: Re: perl should be improved and perl6
Message-Id: <y6WdnbsYG-Wt0GXanZ2dnUVZ_gSdnZ2d@wavecable.com>

Uri Guttman wrote:
>>>>>> "VR" == V Ronans <v_r@spamless.and.happy> writes:
>
>> xhoster@gmail.com wrote:
>  >> "V.Ronans" <v_r@spamless.and.happy> wrote:
>  >>> Dr.Ruud wrote:
>  >>>> jm schreef:
>  >>>>
>  >>>>> perl [...] is poorly typed
>  >>>>
>  >>>> By you? (Did you mean Perl by the way?)
>  >>>
>  >>> Honestly, you know full well he was talking about the programming
>  >>> language that pertains to this here news group, so feign
>  ignorance? I >>> mean why is this even such an issue? Other places
>  where people talk >>> about programming languages don't seem to care
>  if it's all caps, >>> first only capitalized, or all lowercase, or
>  what have you. I've >>> seen Java, java, and JAVA, cpp, C++, c++, c,
>  C, python, PYTHON, >>> cobol, Cobol, COBOL, and the list goes on.
>  >>>
>  >>> So why make such a stink about something so damn trivial?
>  >>
>  >> Programming requires attention to detail.  Well, good programming
>  >> does, anyway.
>
>> Yes, when _programming_, not with geenral petty conversations, such
>> responses as "it's Perl not perl or PERL" serve NO PURPOSE. Arguably
>> neither does this leg of the thread, but that because people like you
>> refuse to pull out your heads for some fresh air.
>
> you don't seem to be a regular here

I'm a regular reader.

> and misspelling perl is a common thing among

1) It wasn't misspelled in this case, be maybe mis-cased.

2) I'm not sure you should be preaching about using proper grammar when 
you don't even bother to capitalize the first letter of your sentences.

> posters who also don't post according to this group's guidelines. it
> is even covered in an FAQ why perl is not an acronym.

Actually it is also an acronym:


http://dictionary.reference.com/search?q=perl

The spelling "Perl" is preferred over the older "PERL" (even though some 
explain the language's name as originating in the acronym for "Practical 
Extraction and Report Language"). The program that interprets/compiles 
Perl code is called "perl", typically "/usr/local/bin/perl" or 
"/usr/bin/perl".



http://www.acronymfinder.com/af-query.asp?Acronym=perl&string=exact

"Practical Extraction and Report Language"


There is a known acronym PERL out there, so I really do not think you 
can blame people for using it.


> perl and other langs can be in whatever case but seeing it wrong when
> it can be corrected is not the crime you make it out to be.

I NEVER said it was a crime. Please do NOT insert words into my mouth. 
My gripe has been and is with the way some of you choose to "correct" 
it; namely, the sarcastic attitude. Again, this serves no useful purpose 
other than to make such people you are attempting to correct perhaps 
look at you with a strange look and wonder why you care so much, 
especially when you don't even care enough to properly case your words.




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

Date: Sat, 5 Apr 2008 21:17:52 -0700
From: "Gordon Etly" <get@bentsys.com>
Subject: Re: perl should be improved and perl6
Message-Id: <65r17iF2h5fbhU1@mid.individual.net>

John Bokma wrote:
> "V.Ronans" <v_r@spamless.and.happy> wrote:
>
>> Dr.Ruud wrote:
>>> jm schreef:
>>>
>>>> perl [...] is poorly typed
>>>
>>> By you? (Did you mean Perl by the way?)
>>
>> Honestly, you know full well he was talking about the programming
>> language that pertains to this here news group, so feign ignorance? I
>> mean why is this even such an issue? Other places where people talk
>> about programming languages don't seem to care if it's all caps,
>
> There are already plenty of people who think PERL is an acronym (it's
> not), so "we" like to avoid PERL.
>
> Moreover, Perl is the programming language, and perl is the
> executable, hence there is a good reason to be case sensitive. Hence,
> perl [...] is poorly typed seems to refer to the executable, hence
> Dr. Ruud's question.

As someone else pointed out, in many other groups centered around a 
particular programming language, no one pays this kind of attention of 
people like your self seem to. Second, why is it people like yourself 
can never give a straight answer as to why it is of such high 
importance? If someone is a good programmer with the Perl language, does 
it really make a difference how they spell it as long as they know what 
they are doing? I mean you have people like Abigail who use their own 
quote characters, Uri who can't use a bloody shift key, etc, and you're 
worried about how some random bloke cases the word/term Perl?

-- 
G.Etly 




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

Date: Sat, 5 Apr 2008 21:23:59 -0700
From: "Gordon Etly" <get@bentsys.com>
Subject: Re: perl should be improved and perl6
Message-Id: <65r1j0F2fhte1U1@mid.individual.net>

John Bokma wrote:
> "V.Ronans" <v_r@spamless.and.happy> wrote:
>
>
>> Yes, when _programming_, not with geenral petty conversations, such
>> responses as "it's Perl not perl or PERL" serve NO PURPOSE.
>
> Yes they do:
>
> A perl programmer is not the same as a Perl programmer.
> A perl hacker is not the same as a Perl hacker.

There is no real difference. Only someone who wants to be so incredibly 
close minded might give a flying hoot.

You could say a normal person's mind might implicitly do a lc(..) on 
those two lines and they end up eq'ing.

> And as I already wrote, PERL misleads people, they see PERL, and they
> think it's an acronym.

http://dictionary.reference.com/search?q=PERL

   The spelling "Perl" is preferred over the older "PERL" (even though
   some explain the language's name as originating in the acronym for
   "Practical Extraction and Report Language"). The program that
   interprets/compiles Perl code is called "perl", typically
   "/usr/local/bin/perl" or "/usr/bin/perl".

> I also use it as a quick way to see if someone knows what he/she is
> talking about. Someone who claims to be a PERL programmer tells me
> that I probably never want to maintain his/her code.

That's a very poor measuring stick. Seems also hypocritical, considering 
some of the more well known people in this group are known for doing 
thing differently (Abigail for her interesting alternate forms of 
quoting in replies, Uri for his inability to use the shift key, and so 
forth), to judge some random bloke who may also choose to be different.

-- 
G.Etly 




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

Date: 6 Apr 2008 04:26:15 GMT
From: John Bokma <john@castleamber.com>
Subject: Re: perl should be improved and perl6
Message-Id: <Xns9A77E43E8675Fcastleamber@130.133.1.4>

"V.Ronans" <v_r@spamless.and.happy> wrote:

> Actually it is also an acronym:

From Wikipedia:
"The name is occasionally given as "PERL" (for Practical Extraction and 
Report Language). Although the expansion has prevailed in many of today's 
manuals, including the official Perl man page, it is merely a *backronym*. 
The name does not officially stand for anything, so spelling it in all 
caps is incorrect."


Robotic Operational Neohuman Assembled for Nocturnal Sabotage

-- 
John

http://johnbokma.com/perl/


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

Date: Sun, 06 Apr 2008 05:15:03 GMT
From: Uri Guttman <uri@stemsystems.com>
Subject: Re: perl should be improved and perl6
Message-Id: <x7iqyvlg2w.fsf@mail.sysarch.com>

>>>>> "VR" == V Ronans <v_r@spamless.and.happy> writes:

  VR> Uri Guttman wrote:

  VR> I'm a regular reader.

not a regular contributor. that downgrades your comments here. by a lot.


  VR> 2) I'm not sure you should be preaching about using proper grammar when 
  VR> you don't even bother to capitalize the first letter of your sentences.

WELL I CAN HIT THE SHIFT KEY IF YOU WANT!!!

  >> posters who also don't post according to this group's guidelines. it
  >> is even covered in an FAQ why perl is not an acronym.

  VR> Actually it is also an acronym:

wrong.

  VR> http://dictionary.reference.com/search?q=perl

  VR> The spelling "Perl" is preferred over the older "PERL" (even though some 
  VR> explain the language's name as originating in the acronym for "Practical 
  VR> Extraction and Report Language"). The program that interprets/compiles 
  VR> Perl code is called "perl", typically "/usr/local/bin/perl" or 
  VR> "/usr/bin/perl".

wrong again.

  VR> http://www.acronymfinder.com/af-query.asp?Acronym=perl&string=exact

  VR> "Practical Extraction and Report Language"

wrong one more time.

  VR> There is a known acronym PERL out there, so I really do not think you 
  VR> can blame people for using it.

and it was first named pearl after larry wall's mother. but that name
was already taken by another language so he dropped the 'a'.

FROM THE PERL FAQ (a more definitive source than the crap you posted):

     What's the difference between "perl" and "Perl"?

     One bit.  Oh, you weren't talking ASCII? :-) Larry now uses
     "Perl" to signify the language proper and "perl" the
     implementation of it, i.e. the current interpreter.  Hence
     Tom's quip that "Nothing but perl can parse Perl."  You may
     or may not choose to follow this usage.  For example,
     parallelism means "awk and perl" and "Python and Perl" look
     OK, while "awk and Perl" and "Python and perl" do not.  But
     never write "PERL", because perl is not an acronym,
     apocryphal folklore and post-facto expansions
     notwithstanding.


  >> perl and other langs can be in whatever case but seeing it wrong when
  >> it can be corrected is not the crime you make it out to be.

  VR> I NEVER said it was a crime. Please do NOT insert words into my
  VR> mouth.  My gripe has been and is with the way some of you choose
  VR> to "correct" it; namely, the sarcastic attitude. Again, this
  VR> serves no useful purpose other than to make such people you are
  VR> attempting to correct perhaps look at you with a strange look and
  VR> wonder why you care so much, especially when you don't even care
  VR> enough to properly case your words.

you tone is worse than anyone who comments on perl vs PERL. so meet the
pot, kettle.

as for my casing, that is your problem. i choose to case my postings
this way. my documentation, POD, writing, teaching, slides are all cased
as others want them.

uri

-- 
Uri Guttman  ------  uri@stemsystems.com  --------  http://www.sysarch.com --
-----  Perl Code Review , Architecture, Development, Training, Support ------
--------- Free Perl Training --- http://perlhunter.com/college.html ---------
---------  Gourmet Hot Cocoa Mix  ----  http://bestfriendscocoa.com ---------


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

Date: Sun, 06 Apr 2008 05:18:35 GMT
From: Uri Guttman <uri@stemsystems.com>
Subject: Re: perl should be improved and perl6
Message-Id: <x7ej9jlfx0.fsf@mail.sysarch.com>

>>>>> "GE" == Gordon Etly <get@bentsys.com> writes:

  GE> As someone else pointed out, in many other groups centered around a 
  GE> particular programming language, no one pays this kind of attention of 
  GE> people like your self seem to. Second, why is it people like yourself 
  GE> can never give a straight answer as to why it is of such high 
  GE> importance? If someone is a good programmer with the Perl language, does 
  GE> it really make a difference how they spell it as long as they know what 
  GE> they are doing? I mean you have people like Abigail who use their own 
  GE> quote characters, Uri who can't use a bloody shift key, etc, and you're 
  GE> worried about how some random bloke cases the word/term Perl?

because it is the newer users who need to learn the difference. saying
'perl' or 'PERL' has a bug are very different. being technically
accurate is a critical skill to a coder so using the correct name for
the language vs the compiler vs a backronym is important. if a perl
hacker wannabe can't get that right, they need to be told about it. i
have the same issue when i see jobs for 'PERL'. that is important to me
as i work in the job placement field and would never use that form.

uri

-- 
Uri Guttman  ------  uri@stemsystems.com  --------  http://www.sysarch.com --
-----  Perl Code Review , Architecture, Development, Training, Support ------
--------- Free Perl Training --- http://perlhunter.com/college.html ---------
---------  Gourmet Hot Cocoa Mix  ----  http://bestfriendscocoa.com ---------


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

Date: Sun, 06 Apr 2008 05:20:53 GMT
From: Uri Guttman <uri@stemsystems.com>
Subject: Re: perl should be improved and perl6
Message-Id: <x7abk7lft6.fsf@mail.sysarch.com>

>>>>> "GE" == Gordon Etly <get@bentsys.com> writes:

  GE> http://dictionary.reference.com/search?q=PERL

  GE>    The spelling "Perl" is preferred over the older "PERL" (even though
  GE>    some explain the language's name as originating in the acronym for
  GE>    "Practical Extraction and Report Language"). The program that
  GE>    interprets/compiles Perl code is called "perl", typically
  GE>    "/usr/local/bin/perl" or "/usr/bin/perl".


that is very wrong. see my other post about this. perl was never
originally an acronym and you can ask larry. hmm, maybe i should the
next time i have dinner with him. 

  >> I also use it as a quick way to see if someone knows what he/she is
  >> talking about. Someone who claims to be a PERL programmer tells me
  >> that I probably never want to maintain his/her code.

  GE> That's a very poor measuring stick. Seems also hypocritical, considering 
  GE> some of the more well known people in this group are known for doing 
  GE> thing differently (Abigail for her interesting alternate forms of 
  GE> quoting in replies, Uri for his inability to use the shift key, and so 
  GE> forth), to judge some random bloke who may also choose to be different.

you are saying the same garbage again. try to be original in your
flamage. me thinks i should also judge your perl code based on your poor
postings. do you have a cpan id?

uri

-- 
Uri Guttman  ------  uri@stemsystems.com  --------  http://www.sysarch.com --
-----  Perl Code Review , Architecture, Development, Training, Support ------
--------- Free Perl Training --- http://perlhunter.com/college.html ---------
---------  Gourmet Hot Cocoa Mix  ----  http://bestfriendscocoa.com ---------


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

Date: Sun, 06 Apr 2008 01:14:32 -0700
From: Tim Smith <reply_in_group@mouse-potato.com>
Subject: Re: perl should be improved and perl6
Message-Id: <reply_in_group-B82115.01143206042008@news.supernews.com>

In article <x7abk7lft6.fsf@mail.sysarch.com>,
 Uri Guttman <uri@stemsystems.com> wrote:
> that is very wrong. see my other post about this. perl was never
> originally an acronym and you can ask larry. hmm, maybe i should the
> next time i have dinner with him.

As long as the man page continues to call it "Practical Extraction and 
Report Language", and "Programming Perl" says it is the "Practical 
Extraction and Report Language", it *is* going to be called PERL now and 
then, regardless of whether that is an acronym or a backronym.

-- 
--Tim Smith


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

Date: Sun, 06 Apr 2008 01:25:56 -0700
From: Tim Smith <reply_in_group@mouse-potato.com>
Subject: Re: perl should be improved and perl6
Message-Id: <reply_in_group-828DE1.01255606042008@news.supernews.com>

In article <x7iqyvn342.fsf@mail.sysarch.com>,
 Uri Guttman <uri@stemsystems.com> wrote:
>   >>>>> perl [...] is poorly typed
>   >>>> 
>   >>>> By you? (Did you mean Perl by the way?)
 ...
>   VR> Yes, when _programming_, not with geenral petty conversations, such 
>   VR> responses as "it's Perl not perl or PERL" serve NO PURPOSE. Arguably 
>   VR> neither does this leg of the thread, but that because people like you 
>   VR> refuse to pull out your heads for some fresh air. 
> 
> oh please remove your own cranium from your rectum first. you don't seem
> to be a regular here and misspelling perl is a common thing among
> posters who also don't post according to this group's guidelines. it is
> even covered in an FAQ why perl is not an acronym. yes, colloquially
> perl and other langs can be in whatever case but seeing it wrong when it
> can be corrected is not the crime you make it out to be. so get yourself
> off this flame war now and shut up about it until you are someone who
> regularly answers questions here. the rule is no bitching about how
> others help here until you help regularly and well.

Wait a second...let me see if I have this straight:

   Poster #1 spells Perl "perl".

   Poster #2 is a jerk about that.

   Poster #3 calls poster #2 a jerk, and defends "perl".

   You take exception to that, coming out strongly against those who
   spell it "perl", while spelling it that way every time you
   use it in your condemnation of people who spell it "perl"!?

-- 
--Tim Smith


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

Date: Sun, 06 Apr 2008 10:08:27 GMT
From: "David Formosa (aka ? the Platypus)" <dformosa@usyd.edu.au>
Subject: Re: perl should be improved and perl6
Message-Id: <slrnfvh94l.b50.dformosa@localhost.localdomain>

On Sat, 5 Apr 2008 21:17:52 -0700, Gordon Etly <get@bentsys.com> wrote:

[...]

> As someone else pointed out, in many other groups centered around a 
> particular programming language, no one pays this kind of attention of 
> people like your self seem to.

Its a marker of if your inside the group of perl culture or out of
it.  Its a short cut to find out if you have read and understood the
FAQ.

[...]

> If someone is a good programmer with the Perl language, does 
> it really make a difference how they spell it as long as they know what 
> they are doing?

Because reading the FAQ, paying attention to detail and understanding
what people tell them are aspects of knowing how to program in Perl.
You will find that people don't care about the spelling of random
words, its only when people start talking about Perl specific words
does it start to mattor.


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

Date: Sat, 5 Apr 2008 23:53:09 -0700 (PDT)
From: vikimun@gmail.com
Subject: Shortcut for if(defined($var) && $var ne "") ?
Message-Id: <595ddbf6-6138-4aec-8bce-2b953fb794f9@a1g2000hsb.googlegroups.com>

Is there shorter equivalent of if(defined($var) && $var ne "")
that doesn't fall for the "0" case, and doesn't produce warning with -
w ?

Thanks
V.M.


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

Date: Sun, 06 Apr 2008 10:34:40 +0200
From: Johann Kappacher <Johann.Kappacher@chello.at>
Subject: Re: Shortcut for if(defined($var) && $var ne "") ?
Message-Id: <445cb$47f88b3e$d52f8dcf$7929@news.chello.at>

vikimun@gmail.com wrote:
> Is there shorter equivalent of if(defined($var) && $var ne "")
> that doesn't fall for the "0" case, and doesn't produce warning with -
> w ?
> 
> Thanks
> V.M.
Hmm,

if (length $var) ....

--jk


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

Date: Sun, 06 Apr 2008 10:41:46 +0200
From: Johann Kappacher <Johann.Kappacher@chello.at>
Subject: Re: Shortcut for if(defined($var) && $var ne "") ?
Message-Id: <593a9$47f88ce8$d52f8dcf$8125@news.chello.at>

Sorry,

it will produce warnings if it is not initialized.
If you want to avoid warnings you must use defined().

perl 5.10 introduces the defined-or Operator.
=> This is your solution.

--jk


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

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


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