Yes! I like that version, it does exactly what I want without the overhead of the duplicate array. I wonder if while (shift(@text)) { wouldn't work as well? Thanks!
--hsm
"Never try to teach a pig to sing...it wastes your time and it annoys the pig."In reply to Re: Re: for mistake with shift
by hsmyers
in thread for mistake with shift
by hsmyers
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |