in reply to Re^2: Unconventional exit from while loop
in thread Unconventional exit from while loop
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 |