in reply to Re^2: Unconventional exit from while loop
in thread Unconventional exit from while loop

> ... renders that while loop condition test redundant, ... only one of which can ever be false.

Nope, the while loop condition exits on empty lists and your code doesn't do the same thing.

Try returning an empty array ref [].

see also Re: Unconventional exit from while loop

Cheers Rolf

( addicted to the Perl Programming Language)

Replies are listed 'Best First'.
Re^4: Unconventional exit from while loop
by BrowserUk (Patriarch) on May 26, 2013 at 14:19 UTC

    See

    "Kind of like"

    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.