in reply to Slice Madness

Your hint just confused me a bit...

Replies are listed 'Best First'.
Re^2: Slice Madness
by japhy (Canon) on Nov 09, 2005 at 16:49 UTC
    Exactly.
    What I meant was that the values being displayed from the array are one level removed from what the '..' operator is actually doing. Printing scalar($x .. $y) vs. scalar(2 .. 4) is the key to seeing what's going on.

    Jeff japhy Pinyan, P.L., P.M., P.O.D, X.S.: Perl, regex, and perl hacker
    How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart