in reply to Re: Re: Starting foreach at an arbitrary position
in thread Starting foreach at an arbitrary position

I think what he meant was that the LHS can't be a lexical variable.


Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).

  • Comment on Re: Re: Re: Starting foreach at an arbitrary position

Replies are listed 'Best First'.
Re: Re: Re: Re: Starting foreach at an arbitrary position
by sauoq (Abbot) on Jan 19, 2003 at 04:24 UTC

    Well, once you put that little splat on the left hand side, it won't be a lexical. You may be right. I took the "method" he was explaining as an answer to the original question rather than an explanation of aliasing in general. FWIW, I considered the possibility that you suggest and didn't think it was the case. I won't pretend to know though. :-)

    -sauoq
    "My two cents aren't worth a dime.";