On Wed, 30 Nov 2005, Federico Lucifredi wrote:

> Hello Ron,
>
>
> > > Thanks Ron -- that works, but I don;t understand it... I thought x could
> > > be used only on quoted literals, I guess I was wrong there. On top of
> > > that, (0) x 4 should yield (0) (0) (0) (0) ... and generate a list of
> > > lists - or should it ?
> > >
> >
> > Here's a question for you...  What is the difference between (0, 0, 0, 0)
> > and ((0), (0), (0), (0))?
> >
>
> That's what I was wondering... a list of lists ? Needless to say, I
> don;t know the answer (if it was a list of lists, flattening would have
> to occur automagically at some point..)

The anwser is that there is no such thing as a list of lists in Perl -
the flattening does happen automagically.

--
Andrew Medico <[EMAIL PROTECTED]>
 
_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to