Paul Archer wrote:
> 4:09pm, Ramprasad A Padmanabhan wrote:
>
> And the problem is not simply a puzzle, nor is it homework. If you had read
> my post more carefully, you would see that I am 1) *teaching* the class, and
> 2) want to be able to show off one concept (the range operator) before we
> h
In article <[EMAIL PROTECTED]>, Paul Archer
wrote:
[top post moved into its chronological place]
> 7:26am, Todd W. wrote:
>
>>
>> "Paul Archer" <[EMAIL PROTECTED]> wrote in message
>> news:[EMAIL PROTECTED]
>> > Is there any (quick and easy) way to get a reverse range, like (10..1),
>> > rather t
From: "Jenda Krynicky" <[EMAIL PROTECTED]>
> From: Paul Archer <[EMAIL PROTECTED]>
> > Is there any (quick and easy) way to get a reverse range, like
> > (10..1), rather than a standard (1..10)? The catch is to *not* use
> > 'reverse'. I'm teaching Sun's perl course this week (DTP-250), and
> > we
From: Paul Archer <[EMAIL PROTECTED]>
> Is there any (quick and easy) way to get a reverse range, like
> (10..1), rather than a standard (1..10)? The catch is to *not* use
> 'reverse'. I'm teaching Sun's perl course this week (DTP-250), and we
> were talking about working on arrays. The book had an
*Vey* cool examples--especially the 'map' in the first one.
Thanks!
Paul
7:26am, Todd W. wrote:
>
> "Paul Archer" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Is there any (quick and easy) way to get a reverse range, like (10..1),
> > rather than a standard (1..10)? Th
On Wednesday, August 27, 2003 08:30, James Edward Gray II wrote:
>
>On Wednesday, August 27, 2003, at 05:39 AM, Ramprasad A Padmanabhan
>wrote:
>
>> IMHO this list is not for solving puzzles or doing school homework ,
>> It is for people learning perl who are getting stuck due to pure perl
>> p
On Wednesday, August 27, 2003, at 05:39 AM, Ramprasad A Padmanabhan
wrote:
IMHO this list is not for solving puzzles or doing school homework ,
It is for people learning perl who are getting stuck due to pure perl
problems
My, seldom humble, opinion does not agree with yours. My feeling is
t
Paul Archer wrote:
> Is there any (quick and easy) way to get a reverse range,
> like (10..1),
> rather than a standard (1..10)? The catch is to *not* use 'reverse'.
> I'm teaching Sun's perl course this week (DTP-250), and we
> were talking
> about working on arrays. The book had an exercise that
4:09pm, Ramprasad A Padmanabhan wrote:
> Paul Archer wrote:
> > Is there any (quick and easy) way to get a reverse range, like (10..1),
> > rather than a standard (1..10)? The catch is to *not* use 'reverse'.
> > I'm teaching Sun's perl course this week (DTP-250), and we were talking
> > about wor
Hi,
@normal = (0,1,2,3,4,5,6,7,8,9);
foreach (0..$#normal) { unshift @reverse, (shift @normal) };
this also works fine.
Michel
-Message d'origine-
De: Paul Archer [mailto:[EMAIL PROTECTED]
Date: mardi 26 août 2003 21:45
À: [EMAIL PROTECTED]
Objet: reverse range (10..1)
Is ther
"Paul Archer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Is there any (quick and easy) way to get a reverse range, like (10..1),
> rather than a standard (1..10)? The catch is to *not* use 'reverse'.
> I'm teaching Sun's perl course this week (DTP-250), and we were talking
> abo
Paul Archer wrote:
Is there any (quick and easy) way to get a reverse range, like (10..1),
rather than a standard (1..10)? The catch is to *not* use 'reverse'.
I'm teaching Sun's perl course this week (DTP-250), and we were talking
about working on arrays. The book had an exercise that had the stud
Is there any (quick and easy) way to get a reverse range, like (10..1),
rather than a standard (1..10)? The catch is to *not* use 'reverse'.
I'm teaching Sun's perl course this week (DTP-250), and we were talking
about working on arrays. The book had an exercise that had the student
reverse an arra
13 matches
Mail list logo