[30803] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 2048 Volume: 11

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Thu Dec 11 03:09:38 2008

Date: Thu, 11 Dec 2008 00:09:06 -0800 (PST)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)

Perl-Users Digest           Thu, 11 Dec 2008     Volume: 11 Number: 2048

Today's topics:
    Re: Help with syntax ... Object::InsideOut <jpsweden@gmail.com>
    Re: Mathematica 7 compares to other languages <arne@vajhoej.dk>
    Re: Mathematica 7 compares to other languages <bakul+usenet@bitblocks.com>
    Re: Mathematica 7 compares to other languages <bakul+usenet@bitblocks.com>
    Re: Mathematica 7 compares to other languages <kkylheku@gmail.com>
    Re: Mathematica 7 compares to other languages <xahlee@gmail.com>
    Re: Mathematica 7 compares to other languages <w_a_x_man@yahoo.com>
    Re: Mathematica 7 compares to other languages <Chris.Rathman@gmail.com>
    Re: Mathematica 7 compares to other languages <toby@telegraphics.com.au>
        new CPAN modules on Thu Dec 11 2008 (Randal Schwartz)
        The single biggest STUPIDITY in Perl ... <jpsweden@gmail.com>
    Re: The single biggest STUPIDITY in Perl ... <1usa@llenroc.ude.invalid>
    Re: The single biggest STUPIDITY in Perl ... <tadmc@seesig.invalid>
    Re: The single biggest STUPIDITY in Perl ... <smallpond@juno.com>
    Re: The single biggest STUPIDITY in Perl ... <peter@makholm.net>
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

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

Date: Wed, 10 Dec 2008 15:37:58 -0800 (PST)
From: jps <jpsweden@gmail.com>
Subject: Re: Help with syntax ... Object::InsideOut
Message-Id: <0dd2509e-21d0-429e-ae4f-7a50df6adf8e@r10g2000prf.googlegroups.com>

On Dec 10, 2:44=A0pm, "A. Sinan Unur" <1...@llenroc.ude.invalid> wrote:
> jps <jpswe...@gmail.com> wrote innews:303528f9-05af-4328-8597-e45fe990102=
d@35g2000pry.googlegroups.com:
>
> > Hi!
>
> > I am trying to grasp the "design pattern" of Object::InsideOut and was
> > reading this:
> >http://search.cpan.org/~jdhedden/Object-InsideOut-
>
> 3.52/lib/Object/InsideOut.pod
>
>
>
> > Looking at the code-examples, I see things like
>
> > =A0 =A0my @data
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 :Field
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 :Type(numeric)
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 :Accessor(data);
>
> ...
>
> > What are these syntactic elements ":Field" and ":Init" ?
> > And what do they mean?
>
> They are called attributes.
>
> http://search.cpan.org/~jdhedden/Object-InsideOut-
> 3.52/lib/Object/InsideOut.pod#ATTRIBUTES
>
> There are some built-in attributes as well:
>
> http://perldoc.perl.org/attributes.html
>
> Sinan
> --
> A. Sinan Unur <1...@llenroc.ude.invalid>
> (remove .invalid and reverse each component for email address)
>
> comp.lang.perl.misc guidelines on the WWW:http://www.rehabitation.com/clp=
misc/

Thanks Sinan!
Very helpful!
/JP


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

Date: Wed, 10 Dec 2008 18:44:51 -0500
From: =?UTF-8?B?QXJuZSBWYWpow7hq?= <arne@vajhoej.dk>
Subject: Re: Mathematica 7 compares to other languages
Message-Id: <49405469$0$90262$14726298@news.sunsite.dk>

Jon Harrop wrote:
> Xah Lee wrote:
>> Kaz Kylheku wrote:
>>> Really? ``50 or hundreds'' of lines in C?
>>>
>>>   #include <math.h> /* for sqrt */
>>>
>>>   void normalize(double *out, double *in)
>>>   {
>>>         double denom = sqrt(in[0] * in[0] + in[1] * in[1] + in[2] *
>>>         in[2]);
>>>
>>>         out[0] = in[0]/denom;
>>>         out[1] = in[1]/denom;
>>>         out[2] = in[2]/denom;
>>>   }
>>>
>>> Doh?
>> Kaz, pay attention:
>>
>> Xah wrote: «Note, that the “norm” as defined above works for vectors
>> of any dimention, i.e. list of any length.»
> 
> That is still only 6 lines of C code and not 50 as you claimed:
> 
> double il = 0.0;
> for (int i=0; i<n; ++i)
>   il += in[i] * in[i];
> il = 1.0 / sqrt(il);
> for (int i=0; i<n; ++i)
>   out[i] = il * in[i];

Not that it matters, but the above requires C99 (or C++).

Arne


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

Date: Wed, 10 Dec 2008 16:12:02 -0800
From: Bakul Shah <bakul+usenet@bitblocks.com>
Subject: Re: Mathematica 7 compares to other languages
Message-Id: <49405AD2.7010207@bitblocks.com>

John W Kennedy wrote:
> Xah Lee wrote:
>> In lisp, python, perl, etc, you'll have 10 or so lines. In C or Java,
>> you'll have 50 or hundreds lines.
> 
> C:
> 
> #include <stdlib.h>
> #include <math.h>
> 
> void normal(int dim, float* x, float* a) {
>    float sum = 0.0f;
>    int i;
>    float divisor;
>    for (i = 0; i < dim; ++i) sum += x[i] * x[i];
>    divisor = sqrt(sum);
>    for (i = 0; i < dim; ++i) a[i] = x[i]/divisor;
> }
> 
> Java:
> 
> static float[] normal(final float[] x) {
>    float sum = 0.0f;
>    for (int i = 0; i < x.length; ++i) sum += x[i] * x[i];
>    final float divisor = (float) Math.sqrt(sum);
>    float[] a = new float[x.length];
>    for (int i = 0; i < x.length; ++i) a[i] = x[i]/divisor;
>    return a;
> }
> 
> 

q){x%sqrt sum x}3 4
0.6 0.8


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

Date: Wed, 10 Dec 2008 16:25:02 -0800
From: Bakul Shah <bakul+usenet@bitblocks.com>
Subject: Re: Mathematica 7 compares to other languages
Message-Id: <49405DDE.4020509@bitblocks.com>

Bakul Shah wrote:
> John W Kennedy wrote:
>> Xah Lee wrote:
>>> In lisp, python, perl, etc, you'll have 10 or so lines. In C or Java,
>>> you'll have 50 or hundreds lines.
>>
>> C:
>>
>> #include <stdlib.h>
>> #include <math.h>
>>
>> void normal(int dim, float* x, float* a) {
>>    float sum = 0.0f;
>>    int i;
>>    float divisor;
>>    for (i = 0; i < dim; ++i) sum += x[i] * x[i];
>>    divisor = sqrt(sum);
>>    for (i = 0; i < dim; ++i) a[i] = x[i]/divisor;
>> }
>>
>> Java:
>>
>> static float[] normal(final float[] x) {
>>    float sum = 0.0f;
>>    for (int i = 0; i < x.length; ++i) sum += x[i] * x[i];
>>    final float divisor = (float) Math.sqrt(sum);
>>    float[] a = new float[x.length];
>>    for (int i = 0; i < x.length; ++i) a[i] = x[i]/divisor;
>>    return a;
>> }
>>
>>
> 
> q){x%sqrt sum x}3 4
> 0.6 0.8

Oops. I meant to write {x%sqrt sum x*x}3 4


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

Date: Thu, 11 Dec 2008 00:34:00 +0000 (UTC)
From: Kaz Kylheku <kkylheku@gmail.com>
Subject: Re: Mathematica 7 compares to other languages
Message-Id: <20081226091336.487@gmail.com>

On 2008-12-10, Xah Lee <xahlee@gmail.com> wrote:
> Xah Lee wrote:
>> > means, we want a function whose input is a list of 3 elements say
            ^^^^^^^^^^^^^^^^^^             ^^^^^^^^^^^^^^^^^^^^^^^

> Kaz, pay attention:

[ reformatted to 7 bit USASCII ]

> Xah wrote: Note, that the norm
> of any dimention, i.e. list of any length.

It was coded to the above requirements. 


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

Date: Wed, 10 Dec 2008 16:51:00 -0800 (PST)
From: Xah Lee <xahlee@gmail.com>
Subject: Re: Mathematica 7 compares to other languages
Message-Id: <5ebe5a7d-cbdf-4d66-a816-a7d2a0a273c9@40g2000prx.googlegroups.com>

On Dec 10, 2:47=C2=A0pm, John W Kennedy <jwke...@attglobal.net> wrote:
> Xah Lee wrote:
> > In lisp, python, perl, etc, you'll have 10 or so lines. In C or Java,
> > you'll have 50 or hundreds lines.
>
> C:
>
> #include <stdlib.h>
> #include <math.h>
>
> void normal(int dim, float* x, float* a) {
> =C2=A0 =C2=A0 float sum =3D 0.0f;
> =C2=A0 =C2=A0 int i;
> =C2=A0 =C2=A0 float divisor;
> =C2=A0 =C2=A0 for (i =3D 0; i < dim; ++i) sum +=3D x[i] * x[i];
> =C2=A0 =C2=A0 divisor =3D sqrt(sum);
> =C2=A0 =C2=A0 for (i =3D 0; i < dim; ++i) a[i] =3D x[i]/divisor;
>
> }
>
> Java:
>
> static float[] normal(final float[] x) {
> =C2=A0 =C2=A0 float sum =3D 0.0f;
> =C2=A0 =C2=A0 for (int i =3D 0; i < x.length; ++i) sum +=3D x[i] * x[i];
> =C2=A0 =C2=A0 final float divisor =3D (float) Math.sqrt(sum);
> =C2=A0 =C2=A0 float[] a =3D new float[x.length];
> =C2=A0 =C2=A0 for (int i =3D 0; i < x.length; ++i) a[i] =3D x[i]/divisor;
> =C2=A0 =C2=A0 return a;
>
> }

Thanks to various replies.

I've now gather code solutions in ruby, python, C, Java, here:

=E2=80=A2 A Example of Mathematica's Expressiveness
  http://xahlee.org/UnixResource_dir/writ/Mathematica_expressiveness.html

now lacking is perl, elisp, which i can do well in a condensed way.
It'd be interesting also to have javascript... and perhaps erlang,
OCaml/F#, Haskell too.

  Xah
=E2=88=91 http://xahlee.org/

=E2=98=84


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

Date: 11 Dec 2008 02:22:40 GMT
From: "William James" <w_a_x_man@yahoo.com>
Subject: Re: Mathematica 7 compares to other languages
Message-Id: <ghpthg01vsi@enews4.newsguy.com>

Jon Harrop wrote:

> Xah Lee wrote:
> > On Dec 10, 12:37 pm, w_a_x_...@yahoo.com wrote:
> >> Ruby:
> > > 
> >> def norm a
> >>   s = Math.sqrt(a.map{|x|x*x}.inject{|x,y|x+y})
> >>   a.map{|x| x/s}
> >> end
> > 
> > I don't know ruby, but i tried to run it and it does not work.
> > 
> > #ruby
> > def norm a
> >   s = Math.sqrt(a.map{|x|x*x}.inject{|x,y|x+y})
> >   a.map{|x| x/s}
> > end
> > 
> > v = [3,4]
> > 
> > p norm(v) # returns [0.6, 0.8]
> 
> That is the correct answer.
> 
> > The correct result for that input would be 5.
> 
> No, you're confusing normalization with length.

Expanded for easier comprehension.

def norm a
  # Replace each number with its square.
  b = a.map{|x| x*x }
  # Sum the squares. (inject is reduce or fold)
  c = b.inject{|x,y| x + y }
  # Take the square root of the sum.
  s = Math.sqrt( c )
  # Divide each number in original list by the square root.
  a.map{|x| x/s }
end

1.upto(4){|i|
  a = (1..i).to_a
  p a
  p norm( a )
}

--- output ---
[1]
[1.0]
[1, 2]
[0.447213595499958, 0.894427190999916]
[1, 2, 3]
[0.267261241912424, 0.534522483824849, 0.801783725737273]
[1, 2, 3, 4]
[0.182574185835055, 0.365148371670111, 0.547722557505166,
0.730296743340221]


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

Date: Wed, 10 Dec 2008 18:43:07 -0800 (PST)
From: Chris Rathman <Chris.Rathman@gmail.com>
Subject: Re: Mathematica 7 compares to other languages
Message-Id: <16459ac1-32b7-408c-80ff-16469af4228a@l33g2000pri.googlegroups.com>

On Dec 10, 6:51=A0pm, Xah Lee <xah...@gmail.com> wrote:
> I've now gather code solutions in ruby, python, C, Java, here:
>
>  now lacking is perl, elisp, which i can do well in a condensed way.
>  It'd be interesting also to have javascript... and perhaps erlang,
>  OCaml/F#, Haskell too.

Pay me $600 for my time and I'll even throw in an Algol-68
version.  :-)



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

Date: Wed, 10 Dec 2008 21:03:10 -0800 (PST)
From: toby <toby@telegraphics.com.au>
Subject: Re: Mathematica 7 compares to other languages
Message-Id: <b31a7abe-a504-462f-aaf3-0023e44a1e8d@c1g2000yqg.googlegroups.com>

On Dec 10, 3:37 pm, w_a_x_...@yahoo.com wrote:
> On Dec 5, 9:51 am, Xah Lee <xah...@gmail.com> wrote:
>
>
>
> > For those of you who don't know linear algebra but knows coding, this
> > means, we want a function whose input is a list of 3 elements say
> > {x,y,z}, and output is also a list of 3 elements, say {a,b,c}, with
> > the condition that
>
> > a = x/Sqrt[x^2+y^2+z^2]
> > b = y/Sqrt[x^2+y^2+z^2]
> > c = z/Sqrt[x^2+y^2+z^2]
>
> > In lisp, python, perl, etc, you'll have 10 or so lines. In C or Java,
> > you'll have 50 or hundreds lines.

void normalise(float d[], float v[]){
    float m = sqrt(v[0]*v[0] + v[1]*v[1] + v[2]*v[2]);
    d[0] = v[0]/m;  // My guess is Xah Lee
    d[1] = v[1]/m;  // hasn't touched C
    d[2] = v[2]/m;  // for near to an eternitee
}


>
> Ruby:
>
> def norm a
>   s = Math.sqrt(a.map{|x|x*x}.inject{|x,y|x+y})
>   a.map{|x| x/s}
> end



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

Date: Thu, 11 Dec 2008 05:42:24 GMT
From: merlyn@stonehenge.com (Randal Schwartz)
Subject: new CPAN modules on Thu Dec 11 2008
Message-Id: <KBp6Io.12Du@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-CouchDB-1.04
http://search.cpan.org/~beppu/AnyEvent-CouchDB-1.04/
a non-blocking CouchDB client based on jquery.couch.js 
----
Apache2-ASP-2.07
http://search.cpan.org/~johnd/Apache2-ASP-2.07/
ASP for Perl, reloaded. 
----
Apache2-ASP-2.08
http://search.cpan.org/~johnd/Apache2-ASP-2.08/
ASP for Perl, reloaded. 
----
Bio-Das-ProServer-2.10
http://search.cpan.org/~rpettett/Bio-Das-ProServer-2.10/
----
Catalyst-Authentication-Credential-HTTP-1.008
http://search.cpan.org/~bobtfish/Catalyst-Authentication-Credential-HTTP-1.008/
HTTP Basic and Digest authentication for Catalyst. 
----
Data-ParseBinary-0.11
http://search.cpan.org/~semuelf/Data-ParseBinary-0.11/
Yet Another parser for binary structures 
----
Data-Util-0.42
http://search.cpan.org/~gfuji/Data-Util-0.42/
A selection of utilities for data and data types 
----
Email-Sender-0.000
http://search.cpan.org/~rjbs/Email-Sender-0.000/
a library for sending email 
----
Email-Template-0.01
http://search.cpan.org/~sfryer/Email-Template-0.01/
Send "multipart/alternative" (text & html) email from a Template 
----
GD-Sparkline-0.02
http://search.cpan.org/~rpettett/GD-Sparkline-0.02/
----
HTML-FormatText-WithLinks-AndTables-0.01
http://search.cpan.org/~sfryer/HTML-FormatText-WithLinks-AndTables-0.01/
Converts HTML to Text with tables in tact 
----
HTML-Revelation-1.00
http://search.cpan.org/~rsavage/HTML-Revelation-1.00/
Reveal HTML document structure in a myriad of colors 
----
HTTP-Session-0.26
http://search.cpan.org/~tokuhirom/HTTP-Session-0.26/
simple session 
----
IPC-Open3-Utils-0.2
http://search.cpan.org/~dmuey/IPC-Open3-Utils-0.2/
Functions for facilitating some of the most common open3() uses 
----
Language-MinCaml-0.01
http://search.cpan.org/~nejigane/Language-MinCaml-0.01/
MinCaml Interpreter 
----
Linux-DVB-DVBT-0.02
http://search.cpan.org/~sdprice/Linux-DVB-DVBT-0.02/
Perl extension for DVB terrestrial recording, epg, and scanning 
----
Math-StochasticProcess-0.02
http://search.cpan.org/~silasmonk/Math-StochasticProcess-0.02/
Stochastic Process 
----
Module-Manifest-0.04
http://search.cpan.org/~adamk/Module-Manifest-0.04/
Parse and examine a Perl distribution MANIFEST file 
----
MooseX-Role-Parameterized-0.02
http://search.cpan.org/~sartak/MooseX-Role-Parameterized-0.02/
parameterized roles 
----
Net-OpenSSH-0.08
http://search.cpan.org/~salva/Net-OpenSSH-0.08/
Perl SSH client package implemented on top of OpenSSH 
----
Net-OpenSSH-0.09
http://search.cpan.org/~salva/Net-OpenSSH-0.09/
Perl SSH client package implemented on top of OpenSSH 
----
Net-sFlow-0.10
http://search.cpan.org/~elisa/Net-sFlow-0.10/
decode sFlow datagrams 
----
NetAddr-IP-4.021
http://search.cpan.org/~miker/NetAddr-IP-4.021/
Manages IPv4 and IPv6 addresses and subnets 
----
Omega-DP41-Data-Current-0.01
http://search.cpan.org/~kerr/Omega-DP41-Data-Current-0.01/
The great new Omega::DP41::Data::Current! 
----
PDL-Graphics-PLplot-0.45
http://search.cpan.org/~dhunt/PDL-Graphics-PLplot-0.45/
Object-oriented interface from perl/PDL to the PLPLOT plotting library 
----
POE-Component-Client-Pastebot-1.06
http://search.cpan.org/~bingos/POE-Component-Client-Pastebot-1.06/
Interact with Bot::Pastebot web services from POE. 
----
Pod-Manual-0.08_02
http://search.cpan.org/~yanick/Pod-Manual-0.08_02/
Aggregates several PODs into a single manual 
----
Rose-DBx-Object-Cached-FastMmap-0.01
http://search.cpan.org/~kmcgrath/Rose-DBx-Object-Cached-FastMmap-0.01/
Rose::DB::Object Cache Cache::FastMmap 
----
Rose-DBx-Object-Indexed-0.002
http://search.cpan.org/~karman/Rose-DBx-Object-Indexed-0.002/
full-text search for RDBO classes 
----
SWISH-Prog-0.22
http://search.cpan.org/~karman/SWISH-Prog-0.22/
information retrieval application framework 
----
String-Tests-0.04
http://search.cpan.org/~sfryer/String-Tests-0.04/
run a series of tests on a string 
----
String-Tests-0.05
http://search.cpan.org/~sfryer/String-Tests-0.05/
run a series of tests on a string 
----
Template-Plugin-ForumCode-0.0.5
http://search.cpan.org/~chisel/Template-Plugin-ForumCode-0.0.5/
Template plugin for HTML::ForumCode 
----
Template-Plugin-JSON-0.04
http://search.cpan.org/~nuffin/Template-Plugin-JSON-0.04/
Adds a .json vmethod for all TT values. 
----
Text-Hyphen-RU-0.1
http://search.cpan.org/~kappa/Text-Hyphen-RU-0.1/
determine positions for hyphens inside russian words 
----
Text-Pipe-0.08
http://search.cpan.org/~marcel/Text-Pipe-0.08/
Common text filter API 
----
User-Simple-1.42
http://search.cpan.org/~gwolf/User-Simple-1.42/
Simple user sessions management 
----
WebService-Linode-0.03
http://search.cpan.org/~mikegrb/WebService-Linode-0.03/
Perl Interface to the Linode.com API. 
----
Wx-Perl-DirTree-0.06
http://search.cpan.org/~reneeb/Wx-Perl-DirTree-0.06/
A directory tree widget for wxPerl 
----
XML-Feed-0.41
http://search.cpan.org/~simonw/XML-Feed-0.41/
Syndication feed parser and auto-discovery 


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: Wed, 10 Dec 2008 16:09:54 -0800 (PST)
From: jps <jpsweden@gmail.com>
Subject: The single biggest STUPIDITY in Perl ...
Message-Id: <0810b4ad-e075-45ca-b94b-62da6fd0e0ad@t39g2000prh.googlegroups.com>

The single biggest STUPIDITY in Perl, IMO, is that it does not
implement proper list-of-list, list-of-hash, hash-of-list & hash-of-
hash structures.

If -for example- you could just write
   my @list = ((1,2),(3,4));
to get a 2x2 matrix (rather than 4-element list) I think the code
could be soooo much more elegant, and easier to write in a much more
readable fashion.

I believe you could then eliminate some 99% of all references that you
see in actual Perl-code -- them all sitting there only as a dreaded
workaround for this profound defect of the language.

Or am I missing something here?

Is this, by any chance, being fixed in Perl6, btw?


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

Date: Thu, 11 Dec 2008 01:25:04 GMT
From: "A. Sinan Unur" <1usa@llenroc.ude.invalid>
Subject: Re: The single biggest STUPIDITY in Perl ...
Message-Id: <Xns9B70CFB37D81Casu1cornelledu@127.0.0.1>

jps <jpsweden@gmail.com> wrote in news:0810b4ad-e075-45ca-b94b-
62da6fd0e0ad@t39g2000prh.googlegroups.com:

> The single biggest STUPIDITY in Perl, IMO, is that it does not
> implement proper list-of-list, list-of-hash, hash-of-list & hash-of-
> hash structures.

Need some attention, eh?
 
> If -for example- you could just write
>    my @list = ((1,2),(3,4));
> to get a 2x2 matrix (rather than 4-element list) I think the code
> could be soooo much more elegant, and easier to write in a much more
> readable fashion.

First, @list is an array.

Second, what is so unreadable about:

#!/usr/bin/perl

use strict;
use warnings;

my @x = ( [1,2], [3,4] );

print $x[1][0], "\n";

__END__

> I believe you could then eliminate some 99% of all references that you
> see in actual Perl-code -- them all sitting there only as a dreaded
> workaround for this profound defect of the language.

I guess if Perl 1 - 4 never existed, Perl 5 might have done things 
differently. However, if the existence of references is the worst thing 
about Perl, then it really ain't so bad, IMO.

> Or am I missing something here?

The proper attitude. If you find the language so profoundly STUPID, feel 
free not to use it. If you are going to use it, try to understand why 
things are the way they are before making proclamations. 

> Is this, by any chance, being fixed in Perl6, btw?

I still haven't paid much attention to Perl 6, but I bet you could find 
out and inform us about the differences in the handling of multi-
dimensional data structures.

Maybe someone has already written something about multidimensional data 
structures in Perl 6. I wonder how one might find out if such a document 
exists. I wonder indeed. 

http://www.google.com/search?&q=perl6+multidimensional+data+structure

Ain't life wonderful?

Sinan

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

comp.lang.perl.misc guidelines on the WWW:
http://www.rehabitation.com/clpmisc/


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

Date: Wed, 10 Dec 2008 20:06:54 -0600
From: Tad J McClellan <tadmc@seesig.invalid>
Subject: Re: The single biggest STUPIDITY in Perl ...
Message-Id: <slrngk0tdu.aef.tadmc@tadmc30.sbcglobal.net>

jps <jpsweden@gmail.com> wrote:

> The single biggest STUPIDITY in Perl,

> this profound defect of the language.
>
> Or am I missing something here?


You are missing that you are free to use a less stupid and defective
programming language.

Perl is not for everyone.


-- 
Tad McClellan
email: perl -le "print scalar reverse qq/moc.noitatibaher\100cmdat/"


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

Date: Wed, 10 Dec 2008 19:28:10 -0800 (PST)
From: smallpond <smallpond@juno.com>
Subject: Re: The single biggest STUPIDITY in Perl ...
Message-Id: <128eed8b-c8d5-44a2-a57b-b31a9f015cdc@e6g2000vbe.googlegroups.com>

On Dec 10, 7:09=A0pm, jps <jpswe...@gmail.com> wrote:
> The single biggest STUPIDITY in Perl, IMO, is that it does not
> implement proper list-of-list, list-of-hash, hash-of-list & hash-of-
> hash structures.
>

Obviously you don't know about "0 but true"


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

Date: Thu, 11 Dec 2008 07:20:05 +0100
From: Peter Makholm <peter@makholm.net>
Subject: Re: The single biggest STUPIDITY in Perl ...
Message-Id: <87skovxmga.fsf@vps1.hacking.dk>

smallpond <smallpond@juno.com> writes:

> On Dec 10, 7:09pm, jps <jpswe...@gmail.com> wrote:
>> The single biggest STUPIDITY in Perl, IMO, is that it does not
>> implement proper list-of-list, list-of-hash, hash-of-list & hash-of-
>> hash structures.
>>
>
> Obviously you don't know about "0 but true"

Which, when you think of it, isn't quite as stupid as "0 and false".

//Makholm


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

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


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